aboutsummaryrefslogtreecommitdiff
path: root/java/com/google/turbine/diag/TurbineError.java
diff options
context:
space:
mode:
authorcushon <cushon@google.com>2018-10-01 16:59:25 -0700
committerLiam Miller-Cushon <cushon@google.com>2018-10-17 20:45:16 -0700
commit4b6a14fefe99e5f172d233a5ccb7d124afa43c0f (patch)
tree37541dda2848c8ab8e95c02f6db3ae06a76991e2 /java/com/google/turbine/diag/TurbineError.java
parent72e07cbbf3b539f280cc7059c03123d3433b7512 (diff)
downloadturbine-4b6a14fefe99e5f172d233a5ccb7d124afa43c0f.tar.gz
Report better errors for unterminated string literals
MOE_MIGRATED_REVID=215306391
Diffstat (limited to 'java/com/google/turbine/diag/TurbineError.java')
-rw-r--r--java/com/google/turbine/diag/TurbineError.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/java/com/google/turbine/diag/TurbineError.java b/java/com/google/turbine/diag/TurbineError.java
index cd7d9e1..01c6c48 100644
--- a/java/com/google/turbine/diag/TurbineError.java
+++ b/java/com/google/turbine/diag/TurbineError.java
@@ -33,6 +33,7 @@ public class TurbineError extends Error {
UNEXPECTED_INPUT("unexpected input: %c"),
UNEXPECTED_IDENTIFIER("unexpected identifier '%s'"),
UNEXPECTED_EOF("unexpected end of input"),
+ UNTERMINATED_STRING("unterminated string literal"),
EXPECTED_TOKEN("expected token %s"),
INVALID_LITERAL("invalid literal: %s"),
UNEXPECTED_TYPE_PARAMETER("unexpected type parameter %s"),