[Top][All Lists]

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

Re: [GNU Bison 2.3] testsuite: 129 failed

From: Tom Lane
Subject: Re: [GNU Bison 2.3] testsuite: 129 failed
Date: Thu, 05 Oct 2006 16:22:39 -0400

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

reply via email to

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