git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2955
4a8a32a2-be11-0410-ad9d-
d568d2c75423
+2003-10-19 Borut Razem <borut.razem@siol.net>
+
+ * src/SDCC.lex: fixed bug #825944 - defined yytext_ptr to make it compile with flex 2.5.31
+
2003-10-19 Erik Petrich <epetrich@ivorytower.norman.ok.us>
* src/SDCCicode.c (geniCodePreInc, geniCodePreDec, ast2iCode):
2003-10-19 Erik Petrich <epetrich@ivorytower.norman.ok.us>
* src/SDCCicode.c (geniCodePreInc, geniCodePreDec, ast2iCode):
+/* flex 2.5.31 undefines yytext_ptr, so we have to define it again */
+#ifndef yytext_ptr
+#define yytext_ptr yytext
+#endif
+
+
static int checkCurrFile (char *s)
{
char lineNum[10] ;
static int checkCurrFile (char *s)
{
char lineNum[10] ;