sets): Declare yylex before using it.
2005-07-14 Paul Eggert <eggert@cs.ucla.edu>
Fix problems reported by twlevo@xs4all.nl.
+ * tests/glr-regression.at (Improper merging of GLR delayed action
+ sets): Declare yylex before using it.
* tests/Makefile.am (maintainer-check-g++): Fix a stray
$(GXX) that escaped the renaming of GXX to CXX. Remove bogus
test for valgrind; valgrind is independent of g++.
static int MergeRule (int x0, int x1);
static void yyerror(char const * s);
+int yylex (void);
#define RULE(x) (1 << (x))
char inp[3];
if (fscanf (yyin, "%2s", inp) == EOF)
return 0;
- switch (inp[0])
+ switch (inp[0])
{
case 'p': return P[inp[1] - '1'];
case 't': return T[inp[1] - '1'];