summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2005-08-01 22:20:34 +0000
committerKeith Packard <keithp@keithp.com>2005-08-01 22:20:34 +0000
commitdea36bb8cdeed1629110cbc407fdb18482d59651 (patch)
treea53ea359d5ead1ddce758eaa45868566144fda2b
parentead3a2dc87122b8d6af79efe719362e2d7d4d697 (diff)
dont initialize yylineno in case the lex variant defines it separately (asXORG-6_99_99_900XORG-6_8_99_903XORG-6_8_99_902XORG-6_8_99_901XORG-6_8_99_900
flex does)
-rw-r--r--lex.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/lex.l b/lex.l
index 2a64635..268d9f9 100644
--- a/lex.l
+++ b/lex.l
@@ -13,7 +13,7 @@
#include "gram.h"
#include "constants.h"
#if defined(FLEX_SCANNER) && !defined(YY_FLEX_LEX_COMPAT) && !defined(__UNIXOS2__)
-int yylineno = 0;
+int yylineno;
#endif
%}