I wrote: > Not sure what to make of this, but happy to look where you tell me to.
Actually, having traced through it, the problem is obvious: yylex() is
called more than four times and starts to return machine-dependent
garbage after the fourth call.
static int
yylex (void)
{
static int toknum = 0;
static int tokens[] =
{
1000, '+', '+', -1
};
return tokens[toknum++];
}
I suppose this is a bug in the testsuite case, not in bison itself.
regards, tom lane
