aboutsummaryrefslogtreecommitdiff
path: root/src/jdk/nashorn/internal/runtime/resources/Options.properties
diff options
context:
space:
mode:
authorsundar <none@none>2014-05-02 19:15:59 +0530
committersundar <none@none>2014-05-02 19:15:59 +0530
commitac2119fd92bbabe7b7b166f601e1a6313511e7bf (patch)
treecdf4da26e4adf19e44d1a3927cb38b2d0afb0e43 /src/jdk/nashorn/internal/runtime/resources/Options.properties
parent01e9abb7690543c0f898556cfa5820a46004dec4 (diff)
downloadnashorn-ac2119fd92bbabe7b7b166f601e1a6313511e7bf.tar.gz
8027933: Add --const-as-var option
Reviewed-by: jlaskey, hannesw
Diffstat (limited to 'src/jdk/nashorn/internal/runtime/resources/Options.properties')
-rw-r--r--src/jdk/nashorn/internal/runtime/resources/Options.properties7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/jdk/nashorn/internal/runtime/resources/Options.properties b/src/jdk/nashorn/internal/runtime/resources/Options.properties
index 033fcc25..9262a401 100644
--- a/src/jdk/nashorn/internal/runtime/resources/Options.properties
+++ b/src/jdk/nashorn/internal/runtime/resources/Options.properties
@@ -102,6 +102,13 @@ nashorn.option.compile.only = { \
type=Boolean \
}
+nashorn.option.const.as.var = { \
+ name="--const-as-var", \
+ is_undocumented=true, \
+ desc="Replace 'const' with 'var'.", \
+ type=Boolean \
+}
+
nashorn.option.d = { \
name="--dump-debug-dir", \
short_name="-d", \