help-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Forcing Bison's yacc.c to report more expected tokens on syntax error


From: Kevin Villela
Subject: Forcing Bison's yacc.c to report more expected tokens on syntax error
Date: Tue, 5 Feb 2019 18:01:31 -0800

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]