mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-13 06:13:02 +00:00
Get rid of broken %no-parser, -n, and --no-parser implementation and
documentation. * TODO: Don't mention them. * doc/bison.1: Likewise. * doc/bison.texinfo (Decl Summary): Likewise. (Bison Options): Likewise. (Option Cross Key): Likewise. * src/getargs.c (no_parser_flag): Remove global variable. (usage): Don't print description of -n and --no-parser. (long_options): Remove --no-parser entry here. (getargs): Remove -n case in the switch here. * src/getargs.h (no_parser_flag): Remove extern. * tests/regression.at (Web2c Actions): Remove comment that mentions --no-parser.
This commit is contained in:
@@ -52,7 +52,6 @@ bool defines_flag;
|
||||
bool graph_flag;
|
||||
bool locations_flag;
|
||||
bool no_lines_flag;
|
||||
bool no_parser_flag;
|
||||
bool token_table_flag;
|
||||
bool yacc_flag; /* for -y */
|
||||
|
||||
@@ -276,7 +275,6 @@ Parser:\n\
|
||||
--locations enable locations computation\n\
|
||||
-p, --name-prefix=PREFIX prepend PREFIX to the external symbols\n\
|
||||
-l, --no-lines don't generate `#line' directives\n\
|
||||
-n, --no-parser generate the tables only\n\
|
||||
-k, --token-table include a table of token names\n\
|
||||
\n\
|
||||
"), stdout);
|
||||
@@ -434,7 +432,6 @@ static struct option const long_options[] =
|
||||
{ "debug", no_argument, 0, 't' },
|
||||
{ "locations", no_argument, 0, LOCATIONS_OPTION },
|
||||
{ "no-lines", no_argument, 0, 'l' },
|
||||
{ "no-parser", no_argument, 0, 'n' },
|
||||
{ "raw", no_argument, 0, 0 },
|
||||
{ "skeleton", required_argument, 0, 'S' },
|
||||
{ "language", required_argument, 0, 'L' },
|
||||
@@ -505,10 +502,6 @@ getargs (int argc, char *argv[])
|
||||
no_lines_flag = true;
|
||||
break;
|
||||
|
||||
case 'n':
|
||||
no_parser_flag = true;
|
||||
break;
|
||||
|
||||
case 'o':
|
||||
spec_outfile = AS_FILE_NAME (optarg);
|
||||
break;
|
||||
|
||||
@@ -40,7 +40,6 @@ extern bool defines_flag; /* for -d */
|
||||
extern bool graph_flag; /* for -g */
|
||||
extern bool locations_flag;
|
||||
extern bool no_lines_flag; /* for -l */
|
||||
extern bool no_parser_flag; /* for -n */
|
||||
extern bool token_table_flag; /* for -k */
|
||||
extern bool yacc_flag; /* for -y */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user