Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(142)

Issue 5978048: Added a catch-rule for invalid numbers. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 1 month ago by Alok Priyadarshi
Modified:
12 years, 1 month ago
Reviewers:
kbr1
CC:
angleproject-review_googlegroups.com
Base URL:
http://angleproject.googlecode.com/svn/trunk/
Visibility:
Public.

Description

Added a catch-rule for invalid numbers. Note that we do not need such a rule for identifiers because they will always be either terminated by a space, a punctuator, or an invalid character. Space and punctuator are both valid cases. The invalid character will be caught by another rule specifically for invalid characters. I will cover this case when I add tests for valid character set. Committed: https://code.google.com/p/angleproject/source/detail?r=1047

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+155 lines, -85 lines) Patch
M src/compiler/preprocessor/new/Token.h View 1 chunk +7 lines, -0 lines 0 comments Download
M src/compiler/preprocessor/new/pp.l View 2 chunks +12 lines, -0 lines 0 comments Download
M src/compiler/preprocessor/new/pp_lex.cpp View 7 chunks +109 lines, -85 lines 0 comments Download
M tests/preprocessor_tests/number_test.cpp View 1 chunk +27 lines, -0 lines 0 comments Download

Messages

Total messages: 2
Alok Priyadarshi
12 years, 1 month ago (2012-04-14 09:48:20 UTC) #1
kbr1
12 years, 1 month ago (2012-04-18 00:53:47 UTC) #2
LGTM
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b