Module Name: xsrc
Committed By: tron
Date: Wed Jan 27 13:46:39 UTC 2010
Modified Files:
xsrc/xfree/xc/config/pswrap: lexer.l
Log Message:
Remove EMX compatibility hack which breaks NetBSD/alpha cross-builds,
at least under Mac OS X.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 xsrc/xfree/xc/config/pswrap/lexer.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/config/pswrap/lexer.l
diff -u xsrc/xfree/xc/config/pswrap/lexer.l:1.2 xsrc/xfree/xc/config/pswrap/lexer.l:1.3
--- xsrc/xfree/xc/config/pswrap/lexer.l:1.2 Sun Nov 8 23:53:19 2009
+++ xsrc/xfree/xc/config/pswrap/lexer.l Wed Jan 27 13:46:39 2010
@@ -45,11 +45,6 @@
#include "pswpriv.h"
#include "pswparser.h"
-/* flex of EMX seems to be too old */
-#if defined(FLEX_SCANNER) && !defined(YY_FLEX_LEX_COMPAT) && !defined(__UNIXOS2__) && !defined(__NetBSD__)
-int yylineno = 1;
-#endif
-
static int parens = 0; /* current paren balancing */
static char *sbody; /* cur pointer into string_temp */
static int curleng = 0; /* current scanned string length */