On Mon, 30 Jul 2007, Bob Rossi wrote:

> OK, so, when I compile gdbmi grammar with push-pull-parse and with
> pure-parse I get a compile error. That's because in the generated c file 
> yypull_parse calls YYLEX. After I preprocess the file I get,
>      gdbmi_char = gdbmi_lex (&gdbmi_lval, &gdbmi_lloc);
> but my lexer function doesn't take any arguments.

If you use global gdbmi_lval and gdmi_lloc instead of making them 
arguments to gdbmi_lex, then it's not a pure parser.


_______________________________________________
help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison

Reply via email to