diff options
| author | gmcgarry <gmcgarry> | 2009-04-14 23:22:46 +0000 |
|---|---|---|
| committer | gmcgarry <gmcgarry> | 2009-04-14 23:22:46 +0000 |
| commit | 418cafc71b5bc44570791482c4171a7d4cb2f9c7 (patch) | |
| tree | 6bca6a5dc77ab7915fc77e152acded8ab9f14ed8 | |
| parent | ca84ba4e8903ef13a8c961990410ba6d0c2992be (diff) | |
Make this compile with YYTEXT_POINTER.
| -rw-r--r-- | token.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -81,7 +81,13 @@ static int state; #define BEGIN state = #define YYSTATE state +#ifdef YYTEXT_POINTER +static char buf[CPPBUF]; +char *yytext = buf; +#else char yytext[CPPBUF]; +#endif + static int owasnl, wasnl = 1; static void |
