Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(320)

Issue 8161006: Allow enum values in IDL files to be simple arithmetic expressions. (Closed)

Created:
9 years, 2 months ago by bbudge
Modified:
9 years, 2 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Allow enums values to be simple arithmetic expressions. BUG=none TEST=./generator.py test_parser/enum.idl Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=104588

Patch Set 1 #

Total comments: 2

Patch Set 2 : '' #

Total comments: 6

Patch Set 3 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+106 lines, -18 lines) Patch
M ppapi/generators/idl_lexer.py View 1 3 chunks +4 lines, -2 lines 0 comments Download
M ppapi/generators/idl_parser.py View 1 2 2 chunks +45 lines, -12 lines 0 comments Download
M ppapi/generators/test_cgen/enum_typedef.h View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
M ppapi/generators/test_cgen/enum_typedef.idl View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M ppapi/generators/test_lex.in View 1 1 chunk +7 lines, -0 lines 0 comments Download
M ppapi/generators/test_parser/enum.idl View 1 2 1 chunk +44 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
bbudge
9 years, 2 months ago (2011-10-05 23:24:14 UTC) #1
noelallen1
You'll also want to modify: test_lex.in test_paser To add unit tests for the new expressions. ...
9 years, 2 months ago (2011-10-05 23:35:51 UTC) #2
bbudge
Added some tests, though not sure if I'm testing the lexer. I added some bitwise ...
9 years, 2 months ago (2011-10-06 18:29:30 UTC) #3
bbudge
9 years, 2 months ago (2011-10-06 20:23:23 UTC) #4
noelallen1
Okay minor issue wrt unary ops. The tests you added will verify that the code ...
9 years, 2 months ago (2011-10-06 20:51:43 UTC) #5
bbudge
http://codereview.chromium.org/8161006/diff/5001/ppapi/generators/idl_parser.py File ppapi/generators/idl_parser.py (right): http://codereview.chromium.org/8161006/diff/5001/ppapi/generators/idl_parser.py#newcode426 ppapi/generators/idl_parser.py:426: ) On 2011/10/06 20:51:44, noelallen1 wrote: > prec for ...
9 years, 2 months ago (2011-10-07 00:04:52 UTC) #6
bbudge
9 years, 2 months ago (2011-10-07 17:04:38 UTC) #7
noelallen1
LGTM
9 years, 2 months ago (2011-10-07 22:06:13 UTC) #8
commit-bot: I haz the power
9 years, 2 months ago (2011-10-07 22:21:59 UTC) #9
No LGTM from valid reviewers yet.

Powered by Google App Engine
This is Rietveld 408576698