diff options
| author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2024-03-18 23:22:30 +0900 |
|---|---|---|
| committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2024-04-06 20:27:02 +0900 |
| commit | df8f1f78f03ba0b18c082f2cd85a276862a1a944 (patch) | |
| tree | 16b86e13d392d0f6ba34d4fa50246cb9af6f9b15 /include/ruby/internal/encoding/string.h | |
| parent | 9b5d4274a247567c583667f4c8442872d8765d39 (diff) | |
[Feature #20329] Separate additional flags from main dump options
Additional flags are comma separated list preceeded by `-` or `+`.
Before:
```sh
$ ruby --dump=insns+without_opt
```
After:
```sh
$ ruby --dump=insns-opt,-optimize
```
At the same time, `parsetree_with_comment` is split to `parsetree`
option and additional `comment` flag.
Before:
```sh
$ ruby --dump=parsetree_with_comment
```
After:
```sh
$ ruby --dump=parsetree,+comment
```
Also flags can be separate `--dump`.
```sh
$ ruby --dump=parsetree --dump=+comment --dump=+error_tolerant
```
Ineffective flags are ignored silently.
```sh
$ ruby --dump=parsetree --dump=+comment --dump=+error_tolerant
```
Diffstat (limited to 'include/ruby/internal/encoding/string.h')
0 files changed, 0 insertions, 0 deletions
