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

Unified Diff: compiler/java/com/google/dart/compiler/parser/ParserErrorCode.java

Issue 10832274: Initial parser changes for the new directive syntax (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 4 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: compiler/java/com/google/dart/compiler/parser/ParserErrorCode.java
===================================================================
--- compiler/java/com/google/dart/compiler/parser/ParserErrorCode.java (revision 10597)
+++ compiler/java/com/google/dart/compiler/parser/ParserErrorCode.java (working copy)
@@ -46,6 +46,7 @@
EXPECTED_COMMA_OR_RIGHT_PAREN("Expected ',' or ')', but got '%s'"),
// TODO(zundel): error message needs JUnit test
EXPECTED_EOS("Unexpected token '%s' (expected end of file)"),
+ EXPECTED_EXPORT("Expected 'export'"),
// TODO(zundel): error message needs JUnit test
EXPECTED_EXPRESSION_AFTER_COMMA("Expected expression after comma"),
EXPECTED_EXTENDS("Expected 'extends'"),

Powered by Google App Engine
This is Rietveld 408576698