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

Unified Diff: tools/lexer_generator/code_generator_test.py

Issue 135053003: Experimental parser: remove inline code from lexer rules (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/parser
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/lexer_generator/code_generator.jinja ('k') | tools/lexer_generator/rule_lexer.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/lexer_generator/code_generator_test.py
diff --git a/tools/lexer_generator/code_generator_test.py b/tools/lexer_generator/code_generator_test.py
index 97c77eb0ff7000aced499fc555f1158ed83915b8..9e2e79a886c72465bf6b8073dbd6d79e88b580d3 100644
--- a/tools/lexer_generator/code_generator_test.py
+++ b/tools/lexer_generator/code_generator_test.py
@@ -35,10 +35,10 @@ class CodeGeneratorTestCase(unittest.TestCase):
rules = '''
eos = [:eos:];
<<default>>
- "(" <|{LBRACE}|>
- ")" <|{RBRACE}|>
+ "(" <|LBRACE|>
+ ")" <|RBRACE|>
- "foo" <|{FOO}|>
+ "foo" <|FOO|>
eos <|terminate|>
- default_action <{DEFAULT}>'''
+ default_action <DEFAULT>'''
CodeGenerator(RuleProcessor.parse(rules, 'latin1'))
« no previous file with comments | « tools/lexer_generator/code_generator.jinja ('k') | tools/lexer_generator/rule_lexer.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698