> I'm having a problem building a reentrant parser. Here's the simple
> test I'm doing, as suggested by the flex documentation. This is using
> flex 2.5.31 and bison 2.1 on x86_64 using g++ 4.0.2 on Fedora Core.
> Please send any suggestions or help.
>
> +++ begin file slex.l +++
> /* Scanner fo
Greetings,
I'm having a problem building a reentrant parser. Here's the simple
test I'm doing, as suggested by the flex documentation. This is using
flex 2.5.31 and bison 2.1 on x86_64 using g++ 4.0.2 on Fedora Core.
Please send any suggestions or help.
+++ begin file slex.l +++
/* Scanner for
Howcome, when you have enabled %location, the yylocationp parameter in
yysymprint is not passed to YYPRINT ?
static void
yysymprint (yyoutput, yytype, yyvaluep, yylocationp)
FILE *yyoutput;
int yytype;
YYSTYPE *yyvaluep;
YYLTYPE *yylocationp; <=== It is there
# ifdef YYPRINT