mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-15 15:23:02 +00:00
Since we now use obstacks, more % directives can be enabled.
* src/lex.c (percent_table): Also accept `%yacc', `%fixed_output_files', `%defines', `%no_parser', `%verbose', and `%debug'. Handle the actions for `%semantic_parser' and `%pure_parser' here, instead of returning a token. * src/lex.h (SEMANTIC_PARSER, PURE_PARSER): Remove, unused. * src/reader.c (read_declarations): Adjust. * src/files.c (open_files): Don't call `compute_base_names', don't compute `attrsfile' since they depend upon data which might be *in* the input file now. (output_files): Do it here. * src/output.c (output_headers): Document the fact that this patch introduces a guaranteed SEGV for semantic parsers. * doc/bison.texinfo: Document them. * tests/suite.at: Exercise these %options.
This commit is contained in:
@@ -33,8 +33,8 @@ Indirect:
|
||||
bison.info-1: 1306
|
||||
bison.info-2: 50276
|
||||
bison.info-3: 98079
|
||||
bison.info-4: 147374
|
||||
bison.info-5: 197192
|
||||
bison.info-4: 147596
|
||||
bison.info-5: 191991
|
||||
|
||||
Tag Table:
|
||||
(Indirect)
|
||||
@@ -93,42 +93,42 @@ Node: Expect Decl110281
|
||||
Node: Start Decl111827
|
||||
Node: Pure Decl112205
|
||||
Node: Decl Summary113882
|
||||
Node: Multiple Parsers117718
|
||||
Node: Interface119212
|
||||
Node: Parser Function120084
|
||||
Node: Lexical120919
|
||||
Node: Calling Convention122325
|
||||
Node: Token Values125096
|
||||
Node: Token Positions126245
|
||||
Node: Pure Calling127137
|
||||
Node: Error Reporting130069
|
||||
Node: Action Features132191
|
||||
Node: Algorithm135852
|
||||
Node: Look-Ahead138145
|
||||
Node: Shift/Reduce140277
|
||||
Node: Precedence143189
|
||||
Node: Why Precedence143840
|
||||
Node: Using Precedence145705
|
||||
Node: Precedence Examples146673
|
||||
Node: How Precedence147374
|
||||
Node: Contextual Precedence148523
|
||||
Node: Parser States150314
|
||||
Node: Reduce/Reduce151557
|
||||
Node: Mystery Conflicts155118
|
||||
Node: Stack Overflow158504
|
||||
Node: Error Recovery159877
|
||||
Node: Context Dependency165013
|
||||
Node: Semantic Tokens165861
|
||||
Node: Lexical Tie-ins168878
|
||||
Node: Tie-in Recovery170426
|
||||
Node: Debugging172598
|
||||
Node: Invocation175899
|
||||
Node: Bison Options176629
|
||||
Node: Environment Variables180983
|
||||
Node: Option Cross Key181831
|
||||
Node: VMS Invocation182721
|
||||
Node: Table of Symbols183505
|
||||
Node: Glossary190902
|
||||
Node: Index197192
|
||||
Node: Multiple Parsers119609
|
||||
Node: Interface121103
|
||||
Node: Parser Function121975
|
||||
Node: Lexical122810
|
||||
Node: Calling Convention124216
|
||||
Node: Token Values126987
|
||||
Node: Token Positions128136
|
||||
Node: Pure Calling129028
|
||||
Node: Error Reporting131960
|
||||
Node: Action Features134082
|
||||
Node: Algorithm137743
|
||||
Node: Look-Ahead140036
|
||||
Node: Shift/Reduce142168
|
||||
Node: Precedence145080
|
||||
Node: Why Precedence145731
|
||||
Node: Using Precedence147596
|
||||
Node: Precedence Examples148564
|
||||
Node: How Precedence149265
|
||||
Node: Contextual Precedence150414
|
||||
Node: Parser States152205
|
||||
Node: Reduce/Reduce153448
|
||||
Node: Mystery Conflicts157009
|
||||
Node: Stack Overflow160395
|
||||
Node: Error Recovery161768
|
||||
Node: Context Dependency166904
|
||||
Node: Semantic Tokens167752
|
||||
Node: Lexical Tie-ins170769
|
||||
Node: Tie-in Recovery172317
|
||||
Node: Debugging174489
|
||||
Node: Invocation177790
|
||||
Node: Bison Options178520
|
||||
Node: Environment Variables181893
|
||||
Node: Option Cross Key182741
|
||||
Node: VMS Invocation183631
|
||||
Node: Table of Symbols184415
|
||||
Node: Glossary191991
|
||||
Node: Index198281
|
||||
|
||||
End Tag Table
|
||||
|
||||
Reference in New Issue
Block a user