[Feature #20329] Separate additional flags from main dump options
Additional flags are comma separated list preceeded by - or +.
-
+
Before:
$ ruby --dump=insns+without_opt
After:
$ ruby --dump=insns-opt,-optimize
At the same time, parsetree_with_comment is split to parsetree option and additional comment flag.
parsetree_with_comment
parsetree
comment
$ ruby --dump=parsetree_with_comment
$ ruby --dump=parsetree,+comment
Also flags can be separate --dump.
--dump
$ ruby --dump=parsetree --dump=+comment --dump=+error_tolerant
Ineffective flags are ignored silently.
[Feature #20329] Separate additional flags from main dump options
Additional flags are comma separated list preceeded by
-
or+
.Before:
After:
At the same time,
parsetree_with_comment
is split toparsetree
option and additional
comment
flag.Before:
After:
Also flags can be separate
--dump
.Ineffective flags are ignored silently.