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

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

Issue 10979081: Report escaped newlines in string literals (issue 5296) (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 3 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 13022)
+++ compiler/java/com/google/dart/compiler/parser/ParserErrorCode.java (working copy)
@@ -43,6 +43,7 @@
// TODO(zundel): error message needs JUnit test (unreachable code?)
DISALLOWED_FACTORY_KEYWORD("Factory keyword not allowed here"),
DISALLOWED_STATIC_KEYWORD("Static keyword not allowed here"),
+ ESCAPED_NEWLINE("Escaped new-line characters are not allowed in string literals"),
EXPECTED_ARRAY_OR_MAP_LITERAL("Expected array or map literal"),
// TODO(zundel): error message needs JUnit test (unreachable code?)
EXPECTED_CASE_OR_DEFAULT("Expected 'case' or 'default'"),

Powered by Google App Engine
This is Rietveld 408576698