mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 04:13:03 +00:00
glr.c: add missing cast
Reported by psjo. Fixes https://github.com/akimd/bison/issues/19. * data/skeletons/glr.c (yyprocessOneStack): Here.
This commit is contained in:
@@ -1985,7 +1985,8 @@ yyprocessOneStack (yyGLRStack* yystackp, ptrdiff_t yyk,
|
||||
while (yystackp->yytops.yystates[yyk] != YY_NULLPTR)
|
||||
{
|
||||
yyStateNum yystate = yystackp->yytops.yystates[yyk]->yylrState;
|
||||
YY_DPRINTF ((stderr, "Stack %ld Entering state %d\n", yyk, yystate));
|
||||
YY_DPRINTF ((stderr, "Stack %ld Entering state %d\n",
|
||||
YY_CAST (long, yyk), yystate));
|
||||
|
||||
YY_ASSERT (yystate != YYFINAL);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user