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

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

Issue 9666015: Update analysis to support adjacent string literals (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Add back ICE Created 8 years, 9 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
diff --git a/compiler/java/com/google/dart/compiler/parser/ParserErrorCode.java b/compiler/java/com/google/dart/compiler/parser/ParserErrorCode.java
index 8ce8ee3c3f169eb2b97f1407bca6d9f96e249ac8..71857621ca2e9d7f07c255802ee59907074836d7 100644
--- a/compiler/java/com/google/dart/compiler/parser/ParserErrorCode.java
+++ b/compiler/java/com/google/dart/compiler/parser/ParserErrorCode.java
@@ -28,7 +28,7 @@ public enum ParserErrorCode implements ErrorCode {
DEFAULT_VALUE_CAN_NOT_BE_SPECIFIED_IN_TYPEDEF(
"Default values can not be specified in closure type definition"),
DEFAULT_POSITIONAL_PARAMETER("Positional parameters cannot have default values"),
- DEPRECATED_USE_OF_FACTORY_KEYWORD(ErrorSeverity.WARNING,
+ DEPRECATED_USE_OF_FACTORY_KEYWORD(ErrorSeverity.WARNING,
"Deprecated use of the 'factory' keyword: use 'default' instead"),
DISALLOWED_ABSTRACT_KEYWORD("Abstract keyword not allowed here"),
DISALLOWED_FACTORY_KEYWORD("Factory keyword not allowed here"),
@@ -46,6 +46,7 @@ public enum ParserErrorCode implements ErrorCode {
EXPECTED_PREFIX_IDENTIFIER("Prefix string can only contain valid identifier characters"),
EXPECTED_SEMICOLON("Expected ';'"),
EXPECTED_STRING_LITERAL("Expected string literal"),
+ EXPECTED_STRING_LITERAL_MAP_ENTRY_KEY("Expected string literal for map entry key"),
EXPECTED_TOKEN("Unexpected token '%s' (expected '%s')"),
EXPECTED_VAR_FINAL_OR_TYPE("Expected 'var', 'final' or type"),
EXPORTED_FUNCTIONS_MUST_BE_STATIC("Exported functions must be static"),

Powered by Google App Engine
This is Rietveld 408576698