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

Unified Diff: src/parser.h

Issue 316173002: Handle "//# sourceURL" comments in the Parser instead of the JS. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: . Created 6 years, 6 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
Index: src/parser.h
diff --git a/src/parser.h b/src/parser.h
index c7bf8bfd45c0126a87e03bae0f4e3de4cd249098..1fab7248b7dfc09833ea02964e2f613a0ba37cd3 100644
--- a/src/parser.h
+++ b/src/parser.h
@@ -785,6 +785,8 @@ class Parser : public ParserBase<ParserTraits> {
bool is_generator,
bool* ok);
+ void HandleMagicComments();
+
void ThrowPendingError();
Isolate* isolate_;

Powered by Google App Engine
This is Rietveld 408576698