summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJoel E. Denny <jdenny@ces.clemson.edu>2007-08-12 02:12:30 +0000
committerJoel E. Denny <jdenny@ces.clemson.edu>2007-08-12 02:12:30 +0000
commit728c4be290a95081c272ca917c54987135cde7e3 (patch)
tree174bf72cbd39d750582dd7a79609789af5610955 /src
parent5d31a2162dc41b71b9de73a3acb7fcba6fb8e7f3 (diff)
downloadbison-728c4be290a95081c272ca917c54987135cde7e3.tar.gz
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.
Diffstat (limited to 'src')
-rw-r--r--src/getargs.c7
-rw-r--r--src/getargs.h1
2 files changed, 0 insertions, 8 deletions
diff --git a/src/getargs.c b/src/getargs.c
index 4ff38fb1..73bc35e5 100644
--- a/src/getargs.c
+++ b/src/getargs.c
@@ -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;
diff --git a/src/getargs.h b/src/getargs.h
index 886f2004..2728cfdc 100644
--- a/src/getargs.h
+++ b/src/getargs.h
@@ -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 */