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

Unified Diff: tools/lexer_generator/code_generator.py

Issue 85543002: Experimental lexer generator: utf line terminator fix. (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 | « src/scanner.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/lexer_generator/code_generator.py
diff --git a/tools/lexer_generator/code_generator.py b/tools/lexer_generator/code_generator.py
index ba0ec0daf538afa14c9c8c0e190f1f6cd5185f45..b609c238b49a46f3fa3ac724c413ad0d9546d70a 100644
--- a/tools/lexer_generator/code_generator.py
+++ b/tools/lexer_generator/code_generator.py
@@ -200,7 +200,7 @@ class CodeGenerator:
return split_count + (0 if no_switch else 1)
__call_map = {
- 'non_primary_whitespace' : 'IsWhiteSpace',
+ 'non_primary_whitespace' : 'IsWhiteSpaceNotLineTerminator',
'non_primary_letter' : 'IsLetter',
'non_primary_identifier_part_not_letter' : 'IsIdentifierPartNotLetter',
'non_primary_line_terminator' : 'IsLineTerminator',
« no previous file with comments | « src/scanner.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698