yytext is an array in lex, but a char * in flex
This commit is contained in:
parent
e94f2d7e1d
commit
92c55fa13a
@ -41,7 +41,11 @@
|
||||
|
||||
#include "decl.h"
|
||||
extern int lineno, yyleng;
|
||||
#ifdef FLEX
|
||||
extern char *yytext;
|
||||
#else
|
||||
extern char yytext[];
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user