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

Unified Diff: src/lexer/lexer_py.re

Issue 68843002: Experimental lexer generator: More code generation. (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/dfa.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/lexer/lexer_py.re
diff --git a/src/lexer/lexer_py.re b/src/lexer/lexer_py.re
index 285b2c9f9b057171274debb426fc4973dbeaf4f0..37c9462c24076106929c882c10982935f5f9cbc3 100644
--- a/src/lexer/lexer_py.re
+++ b/src/lexer/lexer_py.re
@@ -100,7 +100,7 @@ number { PUSH_TOKEN(NUMBER); }
"," { PUSH_TOKEN(COMMA); }
line_terminator+ { PUSH_LINE_TERMINATOR(); }
-whitespace { SKIP } # TODO implement skip
+whitespace { SKIP(); } # TODO implement skip
"\"" <<DoubleQuoteString>>
"'" <<SingleQuoteString>>
@@ -197,14 +197,14 @@ eof <<terminate>>
/./ <<continue>>
<MultiLineComment>
-"*/" { SKIP }
+"*/" { SKIP(); }
# need to force action
line_terminator+ { PUSH_LINE_TERMINATOR(); } <<continue>>
eof <<terminate>>
/./ <<continue>>
<HtmlComment>
-"-->" { SKIP }
+"-->" { SKIP(); }
# need to force action
line_terminator+ { PUSH_LINE_TERMINATOR(); } <<continue>>
eof <<terminate>>
« no previous file with comments | « no previous file | tools/lexer_generator/dfa.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698