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

Unified Diff: src/scanner-base.cc

Issue 5593004: Changed interface to preparser to not require pushback support. (Closed)
Patch Set: Address review comments. Created 10 years 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/preparser-api.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/scanner-base.cc
diff --git a/src/scanner-base.cc b/src/scanner-base.cc
index a01e75efe0eafde283461db7152b2ba2d6225628..b26fee01a72351c1c93fc42bc2522ed53f221a60 100644
--- a/src/scanner-base.cc
+++ b/src/scanner-base.cc
@@ -512,7 +512,6 @@ void JavaScriptScanner::SeekForward(int pos) {
has_line_terminator_before_next_ = false;
}
Scan();
- ASSERT_EQ(Token::RBRACE, next_.token);
}
« no previous file with comments | « src/preparser-api.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698