aboutsummaryrefslogtreecommitdiff
path: root/src/jdk/nashorn/internal/runtime/resources
diff options
context:
space:
mode:
authorsundar <none@none>2013-07-03 17:26:31 +0530
committersundar <none@none>2013-07-03 17:26:31 +0530
commit60378eec14e692bff1671e7be5ae345184a280e9 (patch)
tree5d80c9af020eb20cf908396576433eedae5e54d1 /src/jdk/nashorn/internal/runtime/resources
parent929f273cb9f6b7fa8bb10fa17aa2661d03ce8c26 (diff)
downloadnashorn-60378eec14e692bff1671e7be5ae345184a280e9.tar.gz
8019805: for each (init; test; modify) is invalid
Reviewed-by: lagergren, 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 83c0a5ab..8ec4f7e1 100644
--- a/src/jdk/nashorn/internal/runtime/resources/Messages.properties
+++ b/src/jdk/nashorn/internal/runtime/resources/Messages.properties
@@ -50,6 +50,7 @@ parser.error.no.func.decl.here=Function declarations can only occur at program o
parser.error.no.func.decl.here.warn=Function declarations should only occur at program or function body level. Function declaration in nested block was converted to a function expression.
parser.error.property.redefinition=Property "{0}" already defined
parser.error.unexpected.token=Unexpected token: {0}
+parser.error.for.each.without.in=for each can only be used with for..in
parser.error.many.vars.in.for.in.loop=Only one variable allowed in for..in loop
parser.error.not.lvalue.for.in.loop=Invalid left side value of for..in loop
parser.error.missing.catch.or.finally=Missing catch or finally after try