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

Unified Diff: tools/lexer_generator/regex_lexer.py

Issue 54773002: Experimental parser: key inversion (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/parser
Patch Set: Created 7 years, 2 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/automata_test.py ('k') | tools/lexer_generator/regex_parser.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/lexer_generator/regex_lexer.py
diff --git a/tools/lexer_generator/regex_lexer.py b/tools/lexer_generator/regex_lexer.py
index 0506e32393e176aaff860faeda93fcf616c19bb6..d45f202c054a04563d81aabbfb167685ff716f7a 100644
--- a/tools/lexer_generator/regex_lexer.py
+++ b/tools/lexer_generator/regex_lexer.py
@@ -91,7 +91,7 @@ class RegexLexer:
t.value = t.value[1:]
return t
- t_class_CLASS_LITERAL = r'[a-zA-Z]' # fix this
+ t_class_CLASS_LITERAL = r'[a-zA-Z0-9]' # fix this
t_ANY_ignore = '\n'
« no previous file with comments | « tools/lexer_generator/automata_test.py ('k') | tools/lexer_generator/regex_parser.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698