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

Unified Diff: tools/lexer_generator/code_generator_test.py

Issue 76263003: Experimental lexer generator: make tests pass again + style fixes. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/parser
Patch Set: Created 7 years, 1 month 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 | « no previous file | tools/lexer_generator/lexer_test.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 4725052d02ce8f7e511b689be0eae9bbcba3a5e6..2e6eb1b3d932836b23b1666bc8eef613a24761cc 100644
--- a/tools/lexer_generator/code_generator_test.py
+++ b/tools/lexer_generator/code_generator_test.py
@@ -33,11 +33,12 @@ class CodeGeneratorTestCase(unittest.TestCase):
def test_simple(self):
rules = '''
+ eos = [:eos:];
<<default>>
"(" <|{LBRACE}|>
")" <|{RBRACE}|>
"foo" <|{FOO}|>
- eof <|terminate|>
+ eos <|terminate|>
default_action <{DEFAULT}>'''
CodeGenerator(RuleProcessor.parse(rules))
« no previous file with comments | « no previous file | tools/lexer_generator/lexer_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698