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

Unified Diff: src/lexer/lexer_py.re

Issue 83693002: Experimentar scanner: Unify the API to Scanner API some more. (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/experimental-scanner.h ('k') | test/lexer/cornercases/multiline-and-weird-html-comment.js » ('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 1414ff5f0ae3b830ef49976165d3a4b2b9f8f51f..8879f5b4ba5e224d8c4bd86935e3c96736634b4e 100644
--- a/src/lexer/lexer_py.re
+++ b/src/lexer/lexer_py.re
@@ -79,7 +79,7 @@ eos = [:eos:];
"-->" <{
- if (!just_seen_line_terminator_) {
+ if (!has_line_terminator_before_next_) {
BACKWARD(1);
PUSH_TOKEN(Token::DEC);
}
« no previous file with comments | « src/lexer/experimental-scanner.h ('k') | test/lexer/cornercases/multiline-and-weird-html-comment.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698