aboutsummaryrefslogtreecommitdiff
path: root/src/jdk/nashorn/internal/runtime/resources
diff options
context:
space:
mode:
authorsundar <none@none>2013-09-20 20:55:43 +0530
committersundar <none@none>2013-09-20 20:55:43 +0530
commit7f7fc695c7c23b1c6ea1cebaf31af4729cfa67d2 (patch)
tree6377dd7dfdb6f861034557a4956bed8c99865b3f /src/jdk/nashorn/internal/runtime/resources
parent799a7bbcfffdb3c4115c346128ac8c919a554d5d (diff)
downloadnashorn-7f7fc695c7c23b1c6ea1cebaf31af4729cfa67d2.tar.gz
8025147: Trailing comma is not allowed in JSONArray and JSONObject
Reviewed-by: hannesw, jlaskey
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 5115e2ce..1a37ba7b 100644
--- a/src/jdk/nashorn/internal/runtime/resources/Messages.properties
+++ b/src/jdk/nashorn/internal/runtime/resources/Messages.properties
@@ -57,6 +57,7 @@ parser.error.missing.catch.or.finally=Missing catch or finally after try
parser.error.regex.unsupported.flag=Unsupported RegExp flag: {0}
parser.error.regex.repeated.flag=Repeated RegExp flag: {0}
parser.error.regex.syntax={0}
+parser.error.trailing.comma.in.json=Trailing comma is not allowed in JSON
# strict mode error messages
parser.error.strict.no.with="with" statement cannot be used in strict mode