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

Unified Diff: src/lexer/lexer_py.re

Issue 91213004: Fix setting of has_escape for first char of identifier. (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/lexer/lexer-shell.cc ('k') | no next file » | 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 fce1f68b5456a8762d274cbce9efa9568d70b2a9..f347fe6df4d117771177328c07252ba35e5574f4 100644
--- a/src/lexer/lexer_py.re
+++ b/src/lexer/lexer_py.re
@@ -189,6 +189,7 @@ identifier_start <|token(IDENTIFIER)|Identifier>
if (V8_UNLIKELY(!ValidIdentifierStart())) {
goto default_action;
}
+ next_.has_escapes = true;
}|token(IDENTIFIER)|Identifier>
eos <|terminate|>
« no previous file with comments | « src/lexer/lexer-shell.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698