Re: [PATCH for Dlang support 1/2] d: add yyerrok()
Akim Demaille <[email protected]>
| Newsgroups | gmane.comp.parsers.bison.patches |
|---|---|
| Message-ID | <[email protected]> |
> Le 6 nov. 2020 à 16:18, Adela Vais <[email protected]> a écrit : > > In D's case, yyerrok() is a private method of the Parser class. > However, it can be called directly as `yyerrok()` from the grammar rules section. > > The examples were modified to demonstrate this functionality. > > * data/skeletons/lalr1.d: Add yyerrok(). > * examples/d/calc/calc.y, examples/d/simple/calc.y: Demonstrate yyerrok(). > * tests/calc.at: Update D tests to use yyerrok(). Thanks Adela, I installed both these patches.