aboutsummaryrefslogtreecommitdiff
path: root/src/jdk/nashorn/internal/runtime/resources/Options.properties
diff options
context:
space:
mode:
authorhannesw <none@none>2014-09-04 18:47:18 +0200
committerhannesw <none@none>2014-09-04 18:47:18 +0200
commitd3270a01c0dff0895ef2abb1f388836b8c056687 (patch)
treedfffd025add67f339c565e5c2b78e1949d5df798 /src/jdk/nashorn/internal/runtime/resources/Options.properties
parent5c98633aee7d7111ec82fd2b375f9fdfda2a741c (diff)
downloadnashorn-d3270a01c0dff0895ef2abb1f388836b8c056687.tar.gz
8051889: Implement block scoping in symbol assignment and scope computation
Reviewed-by: attila, lagergren
Diffstat (limited to 'src/jdk/nashorn/internal/runtime/resources/Options.properties')
-rw-r--r--src/jdk/nashorn/internal/runtime/resources/Options.properties8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/jdk/nashorn/internal/runtime/resources/Options.properties b/src/jdk/nashorn/internal/runtime/resources/Options.properties
index b6d98dca..a5e8cd5a 100644
--- a/src/jdk/nashorn/internal/runtime/resources/Options.properties
+++ b/src/jdk/nashorn/internal/runtime/resources/Options.properties
@@ -329,6 +329,14 @@ nashorn.option.scripting = { \
desc="Enable scripting features." \
}
+nashorn.option.language = { \
+ name="--language", \
+ type=String, \
+ params=[es5|es6], \
+ default=es5, \
+ desc="Specify ECMAScript language version." \
+}
+
nashorn.option.stdout = { \
name="--stdout", \
is_undocumented=true, \