diff options
-rw-r--r-- | src/gram.y | 1 | ||||
-rw-r--r-- | src/lex.l | 3 |
2 files changed, 3 insertions, 1 deletions
@@ -100,7 +100,6 @@ static int color; int mods = 0; unsigned int mods_used = (ShiftMask | ControlMask | Mod1Mask); -extern int yylineno; extern int yylex(void); static void yyerror(const char *s); @@ -70,6 +70,9 @@ in this Software without prior written authorization from The Open Group. #include "parse.h" #ifdef FLEX_SCANNER +#if (YY_FLEX_MINOR_VERSION == 5) && (YY_FLEX_SUBMINOR_VERSION < 20) +int yylineno; +#endif #undef YY_INPUT #define YY_INPUT(buf,result,size) ((result) = doinput((buf),(size))) |