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

Issue 6697028: Add IDL Lexer (Closed)

Created:
9 years, 9 months ago by noelallen1
Modified:
9 years, 5 months ago
Reviewers:
Nick Bray
CC:
chromium-reviews
Visibility:
Public.

Description

Add IDL Lexer This lexer understands standard IDL tokens which are similar to 'C'. INT, HEX, FLOAT, QUOTE and SYMBOL. SYMBOL can then also become a KEYWORD such as enum, interface, struct, typedef... R=ncbray@google.com BUG=76237 TEST=python idl_lexer.py --test_expect --test_same test_lex.in Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=79169

Patch Set 1 #

Total comments: 37

Patch Set 2 : Review fixes #

Patch Set 3 : Add missing path #

Patch Set 4 : Removed debug print of sys.path #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+321 lines, -0 lines) Patch
A ppapi/generators/idl_lexer.py View 1 2 3 1 chunk +293 lines, -0 lines 2 comments Download
A ppapi/generators/test_lex.in View 1 1 chunk +28 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Nick Bray
A quick mechanical review. http://codereview.chromium.org/6697028/diff/1/ppapi/generators/idl_lexer.py File ppapi/generators/idl_lexer.py (right): http://codereview.chromium.org/6697028/diff/1/ppapi/generators/idl_lexer.py#newcode22 ppapi/generators/idl_lexer.py:22: except: Don't bother? Just modify ...
9 years, 9 months ago (2011-03-15 21:44:06 UTC) #1
noelallen1
PTAL http://codereview.chromium.org/6697028/diff/1/ppapi/generators/idl_lexer.py File ppapi/generators/idl_lexer.py (right): http://codereview.chromium.org/6697028/diff/1/ppapi/generators/idl_lexer.py#newcode22 ppapi/generators/idl_lexer.py:22: except: I try instead of forcing it, we ...
9 years, 9 months ago (2011-03-17 01:20:02 UTC) #2
Nick Bray
Nothing wildly objectionable. (But I'll need to review everything together, at the end.) We can ...
9 years, 9 months ago (2011-03-21 20:25:29 UTC) #3
Nick Bray
9 years, 9 months ago (2011-03-23 00:27:00 UTC) #4
LGTM with the understanding the test goes live ASAP.

Powered by Google App Engine
This is Rietveld 408576698