Forcing Bison's yacc.c to report more expected tokens on syntax error
Kevin Villela <[email protected]>
| Newsgroups | gmane.comp.parsers.bison.general |
|---|---|
| Message-ID | <CAA8FXMq-PP5pyA++XswMYHiH26xyi=RXH3780ma9R9mHcD6KRA@mail.gmail.com> |
Hi all, I saw that the yacc.c skeleton only supports reporting a maximum or 5 expected tokens. The page <https://www.gnu.org/software/bison/manual/html_node/LAC.html> on Look-Ahead Correction states this is "because of internationalization considerations". I was wondering if I would be able to contribute a configuration option to increase this number arbitrarily, or even just up to a higher number (e.g. 30) ? Thanks in advance for the help! -Kevin _______________________________________________ [email protected] https://lists.gnu.org/mailman/listinfo/help-bison