aboutsummaryrefslogtreecommitdiff
path: root/src/jdk/nashorn/internal/runtime/resources
diff options
context:
space:
mode:
authorsundar <none@none>2013-07-01 23:36:40 +0530
committersundar <none@none>2013-07-01 23:36:40 +0530
commit1022e789c5b408919b51e116430f3e69e01934f5 (patch)
tree3270b3b3ee68a829e7c226a19e3a86a29e7272d5 /src/jdk/nashorn/internal/runtime/resources
parentc88f337e01f7a405ee5d8a150462d1f90e5cad05 (diff)
downloadnashorn-1022e789c5b408919b51e116430f3e69e01934f5.tar.gz
8019508: Comma handling in object literal parsing is wrong
Reviewed-by: hannesw
Diffstat (limited to 'src/jdk/nashorn/internal/runtime/resources')
-rw-r--r--src/jdk/nashorn/internal/runtime/resources/Messages.properties1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/jdk/nashorn/internal/runtime/resources/Messages.properties b/src/jdk/nashorn/internal/runtime/resources/Messages.properties
index f058fa33..a9c6c589 100644
--- a/src/jdk/nashorn/internal/runtime/resources/Messages.properties
+++ b/src/jdk/nashorn/internal/runtime/resources/Messages.properties
@@ -42,6 +42,7 @@ parser.error.expected.literal=Expected a literal but found {0}
parser.error.expected.operand=Expected an operand but found {0}
parser.error.expected.stmt=Expected statement but found {0}
parser.error.expected.comma=Expected comma but found {0}
+parser.error.expected.property.id=Expected property id but found {0}
parser.error.expected=Expected {0} but found {1}
parser.error.invalid.return=Invalid return statement
parser.error.no.func.decl.here=Function declarations can only occur at program or function body level. You should use a function expression here instead.