mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-13 22:33:03 +00:00
* data/yacc.c (yytnamerr): Fix typo: local var should be of type
YYSIZE_T, not size_t. * tests/regression.at (Trivial grammars): New test, to catch the error fixed by the above patch.
This commit is contained in:
@@ -800,7 +800,7 @@ yytnamerr (char *yyres, const char *yystr)
|
||||
{
|
||||
if (*yystr == '"')
|
||||
{
|
||||
size_t yyn = 0;
|
||||
YYSIZE_T yyn = 0;
|
||||
char const *yyp = yystr;
|
||||
|
||||
for (;;)
|
||||
|
||||
Reference in New Issue
Block a user