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

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

Issue 8441001: Prefix string literal must be identifier (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Updates Created 9 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
Index: compiler/java/com/google/dart/compiler/parser/ParserErrorCode.java
diff --git a/compiler/java/com/google/dart/compiler/parser/ParserErrorCode.java b/compiler/java/com/google/dart/compiler/parser/ParserErrorCode.java
index ff292c03ee2c06b3ae4fd2d4e489fd68f727b1d2..c62ac12369de86efd59d43bfe046e05df8c6eef4 100644
--- a/compiler/java/com/google/dart/compiler/parser/ParserErrorCode.java
+++ b/compiler/java/com/google/dart/compiler/parser/ParserErrorCode.java
@@ -23,6 +23,7 @@ public enum ParserErrorCode implements ErrorCode {
EXPECTED_LEFT_PAREN("'(' expected"),
EXPECTED_PERIOD_OR_LEFT_BRACKET("Expected '.' or '['"),
EXPECTED_PREFIX_KEYWORD("Expected 'prefix' after comma"),
+ EXPECTED_PREFIX_IDENTIFIER("Prefix string can only contain valid identifier characters"),
EXPECTED_SEMICOLON("Expected ';'"),
EXPECTED_STRING_LITERAL("Expected string literal"),
EXPECTED_TOKEN("Unexpected token '%s' (expected '%s')"),

Powered by Google App Engine
This is Rietveld 408576698