mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-13 22:33:03 +00:00
Remove the so called hairy (semantic) parsers.
* src/system.h (EXT_GUARD_C, EXT_STYPE_H): Remove. * src/gram.h, src/gram.c (semantic_parser): Remove. (rule_t): Remove the guard and guard_line members. * src/lex.h (token_t): remove tok_guard. * src/options.c (option_table): Remove %guard and %semantic_parser support. * src/output.c, src/output.h (guards_output): Remove. (prepare): Adjust. (token_definitions_output): Don't output the `T' tokens (???). (output_skeleton): Don't output the guards. * src/files.c, src/files.c (attrsfile): Remove. * src/reader.c (symbol_list): Remove the guard and guard_line members. Adjust dependencies. (parse_guard): Remove. * data/bison.hairy: Remove. * doc/bison.texinfo (Environment Variables): Remove occurrences of BISON_HAIRY.
This commit is contained in:
@@ -83,7 +83,6 @@ const struct option_table_struct option_table[] =
|
||||
DRTV ("term", no, NULL, tok_token)
|
||||
DRTV ("nterm", no, NULL, tok_nterm)
|
||||
DRTV ("type", no, NULL, tok_type)
|
||||
DRTV ("guard", no, NULL, tok_guard)
|
||||
DRTV ("union", no, NULL, tok_union)
|
||||
DRTV ("expect", no, NULL, tok_expect)
|
||||
DRTV ("thong", no, NULL, tok_thong)
|
||||
@@ -104,7 +103,6 @@ const struct option_table_struct option_table[] =
|
||||
BOTH ("name-prefix", required, &spec_name_prefix, tok_stropt, 'p')
|
||||
|
||||
DRTV ("define", no, NULL, tok_define)
|
||||
DRTV ("semantic-parser",no, &semantic_parser, tok_intopt)
|
||||
DRTV ("pure-parser", no, &pure_parser, tok_intopt)
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user