--- gcc-3.3.6/gcc/c-parse.y~ 2013-12-25 21:30:25.721987092 +0000 +++ gcc-3.3.6/gcc/c-parse.y 2013-12-25 21:42:18.009303419 +0000 @@ -54,6 +54,10 @@ /* Like YYERROR but do call yyerror. */ #define YYERROR1 { yyerror ("syntax error"); YYERROR; } +#ifndef YYLEX +# define YYLEX yylex() +#endif + /* Like the default stack expander, except (1) use realloc when possible, (2) impose no hard maxiumum on stack size, (3) REALLY do not use alloca. --- gcc-3.3.6/gcc/cp/parse.y~ 2013-12-25 21:43:54.521643844 +0000 +++ gcc-3.3.6/gcc/cp/parse.y 2013-12-25 21:46:06.474843780 +0000 @@ -47,6 +47,10 @@ /* Like YYERROR but do call yyerror. */ #define YYERROR1 { yyerror ("syntax error"); YYERROR; } +#ifndef YYLEX +# define YYLEX yylex() +#endif + /* Like the default stack expander, except (1) use realloc when possible, (2) impose no hard maxiumum on stack size, (3) REALLY do not use alloca.