help-flex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bug(s) in 2.5.19 skel.c


From: John Millaway
Subject: Re: bug(s) in 2.5.19 skel.c
Date: Sun, 15 Sep 2002 09:21:06 -0700 (PDT)

Thanks. (The file scan.c shouldn't be patched, though. Instead, flex.skl should
be patched.)  We don't have a good way of dumping out all the global variables
generated in the traditional scanner -- that's how we identify what goes into
the yyguts.


> > *** skel.c.orig     Sat Sep 14 22:32:14 2002
> --- skel.c    Sat Sep 14 22:33:46 2002
> ***************
> *** 2028,2033 ****
> --- 2028,2040 ----
>     "    YY_G(yy_start_stack_depth) = 0;",
>     "    YY_G(yy_start_stack) = (int *) 0;",
>     "",
> +   "#ifdef YY_USES_REJECT",
> +   "    YY_G(yy_state_buf) = 0;",
> +   "    YY_G(yy_state_ptr) = 0;",
> +   "    YY_G(yy_full_match) = 0;",
> +   "    YY_G(yy_lp) = 0;",
> +   "#endif",
> +   "",
>     "/* Defined in main.c */",
>     "#ifdef YY_STDINIT",
>     "    yyin = stdin;",
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com




reply via email to

[Prev in Thread] Current Thread [Next in Thread]