aboutsummaryrefslogtreecommitdiff
path: root/src/jdk/nashorn/internal/runtime/resources
diff options
context:
space:
mode:
authorsundar <none@none>2013-06-17 13:56:05 +0530
committersundar <none@none>2013-06-17 13:56:05 +0530
commit8958e59f9fd70673c2e7270969bd6d437cfc36f7 (patch)
treed98a9650da89d5f26f119d314d619e51f30b8cd2 /src/jdk/nashorn/internal/runtime/resources
parentbfd63c9ccbe3c572771f981e8dba58aa97768137 (diff)
downloadnashorn-8958e59f9fd70673c2e7270969bd6d437cfc36f7.tar.gz
8016550: nashorn.option.no.syntax.extensions has the wrong default
Reviewed-by: hannesw, lagergren
Diffstat (limited to 'src/jdk/nashorn/internal/runtime/resources')
-rw-r--r--src/jdk/nashorn/internal/runtime/resources/Options.properties18
1 files changed, 5 insertions, 13 deletions
diff --git a/src/jdk/nashorn/internal/runtime/resources/Options.properties b/src/jdk/nashorn/internal/runtime/resources/Options.properties
index 4dd6df6f..4d7be62b 100644
--- a/src/jdk/nashorn/internal/runtime/resources/Options.properties
+++ b/src/jdk/nashorn/internal/runtime/resources/Options.properties
@@ -59,7 +59,7 @@ nashorn.options.D.key = nashorn.option.D
## is_undocumented - should this option never appear in the online help. defaults to no.
## desc - description of what the option does
## default - default value of the option. e.g. debug.lines is true by default. Not set means option not available by default
-## dependency - does this arg imply another arg, e.g. scripting -> anon-functions
+## dependency - does this arg imply another arg.
## confict - does this arg conflict with another arg e.g trace && instrument
## value_next_arg - is the opton's value passed as next argument in command line?
##
@@ -77,16 +77,9 @@ nashorn.option.xhelp = { \
desc="Print extended help for command line flags." \
}
-nashorn.option.anon.functions = { \
- name="--anon-functions", \
- short_name="-af", \
- is_undocumented=true, \
- desc="Always allow functions as statements." \
-}
-
nashorn.option.class.cache.size ={ \
name="--class-cache-size", \
- short_name="--ccs", \
+ short_name="-ccs", \
desc="Size of the Class cache size per global scope.", \
is_undocumented=true, \
type=Integer, \
@@ -201,10 +194,10 @@ nashorn.option.loader.per.compile = { \
nashorn.option.no.syntax.extensions = { \
name="--no-syntax-extensions", \
- short_name="--nse", \
+ short_name="-nse", \
is_undocumented=true, \
desc="No non-standard syntax extensions", \
- default=-anon-functions=false \
+ default=false \
}
nashorn.option.package = { \
@@ -296,8 +289,7 @@ nashorn.option.strict = { \
nashorn.option.scripting = { \
name="-scripting", \
- desc="Enable scripting features.", \
- dependency="--anon-functions=true" \
+ desc="Enable scripting features." \
}
nashorn.option.specialize.calls = { \