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

Unified Diff: src/messages.h

Issue 1793913002: [parser] implement error reporting for Scanner errors (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: rebased Created 4 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
« no previous file with comments | « no previous file | src/parsing/parser-base.h » ('j') | src/parsing/parser-base.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/messages.h
diff --git a/src/messages.h b/src/messages.h
index e7af4fb43a05f927ac85b0b8e54c48d97f4e506f..2f9538f05c1b51b631c239bd06baa7097ecd7dd0 100644
--- a/src/messages.h
+++ b/src/messages.h
@@ -462,6 +462,11 @@ class CallSite {
T(UnterminatedTemplateExpr, "Missing } in template expression") \
T(FoundNonCallableHasInstance, "Found non-callable @@hasInstance") \
T(NonObjectInInstanceOfCheck, "Expecting an object in instanceof check") \
+ T(InvalidHexEscapeSequence, "Invalid hexadecimal escape sequence") \
+ T(InvalidUnicodeEscapeSequence, "Invalid Unicode escape sequence") \
+ T(UndefinedUnicodeCodePoint, "Undefined Unicode code-point") \
+ T(UnclosedUnicodeEscapeSequence, \
+ "Unclosed Unicode escape sequence --- Expected `}`") \
adamk 2016/03/18 18:21:55 This one is weird in a couple ways: - More tradit
caitp (gmail) 2016/03/21 16:15:03 I rewrote the message to match similar-ish message
/* EvalError */ \
T(CodeGenFromStrings, "%") \
/* URIError */ \
« no previous file with comments | « no previous file | src/parsing/parser-base.h » ('j') | src/parsing/parser-base.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698