Module Name: xsrc
Committed By: christos
Date: Sun Nov 8 23:42:06 UTC 2009
Modified Files:
xsrc/xfree/xc/programs/xgc: lex.l
Log Message:
our flex does not need yylineno anymore, in fact it was initialized with
the wrong value.
To generate a diff of this commit:
cvs rdiff -u -r1.1.1.4 -r1.2 xsrc/xfree/xc/programs/xgc/lex.l
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: xsrc/xfree/xc/programs/xgc/lex.l
diff -u xsrc/xfree/xc/programs/xgc/lex.l:1.1.1.4 xsrc/xfree/xc/programs/xgc/lex.l:1.2
--- xsrc/xfree/xc/programs/xgc/lex.l:1.1.1.4 Fri Feb 28 08:19:31 2003
+++ xsrc/xfree/xc/programs/xgc/lex.l Sun Nov 8 18:42:05 2009
@@ -11,7 +11,7 @@
#include <X11/X.h>
#include "gram.h"
#include "constants.h"
-#if defined(FLEX_SCANNER) && !defined(YY_FLEX_LEX_COMPAT) && !defined(__UNIXOS2__)
+#if defined(FLEX_SCANNER) && !defined(YY_FLEX_LEX_COMPAT) && !defined(__UNIXOS2__) && !defined(__NetBSD__)
int yylineno = 0;
#endif
%}