diff options
Diffstat (limited to 'tests/test-alloc-extra/scanner.l')
-rw-r--r-- | tests/test-alloc-extra/scanner.l | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-alloc-extra/scanner.l b/tests/test-alloc-extra/scanner.l index 49fc6d9..bedd43b 100644 --- a/tests/test-alloc-extra/scanner.l +++ b/tests/test-alloc-extra/scanner.l @@ -39,7 +39,6 @@ struct Check { char *bar; char qux; }; -#define YY_EXTRA_TYPE struct Check * /* Save char into junk array at next position. */ static void check_extra ( yyscan_t scanner ); @@ -52,6 +51,7 @@ void *yyalloc ( size_t size, yyscan_t scanner ); %option 8bit outfile="scanner.c" prefix="test" %option nounput nomain noyywrap nodefault %option warn +%option extra-type="struct Check *" %option reentrant %option noyyalloc |