Project

General

Profile

Actions

Feature #20329

closed

Clean up `--dump` sub-options

Added by nobu (Nobuyoshi Nakada) 9 months ago. Updated 8 months ago.

Status:
Closed
Assignee:
-
Target version:
-
[ruby-core:117088]

Description

Currently we have 5 options for --dump command line option.

  • insns
  • insns_without_opt
  • yydebug(+error-tolerant)
  • parsetree(+error-tolerant)
  • parsetree_with_comment(+error-tolerant)

Among these, insns_without_opt is a variant of insns, and parsetree_with_comment is a variant of parsetree.
However, there is now another way to specify variants (e.g. +error-tolerant).
How about unifying the two so that the former can also be specified in the same form, such as --dump=parsetree+comment+error-tolerant?
It also will be able to abbreviate as parse+comm+err or more.

Actions

Also available in: Atom PDF

Like1
Like0Like0Like0Like0Like0Like0Like0