On 12 Jun 2007, at 02:17, Bob Smith wrote:

I'm trying to use two parsers in the same program to parse different
grammars.
...
The problem occurs with the following four function names not subject
to %name-prefix:  yy_symbol_value_print, yy_symbol_print,
yy_reduce_print, and yydestruct.  In one file I use %lex-param {...}
which defines parameters to yylex, and yyparse, but also passes those
parameters to each of the above four functions.

It seems like a bug: report it to Bison Bugs <[EMAIL PROTECTED]>.

In the meantime, you can tweak the skeleton file. Compare those names with those that properly get the "yy" prefix changed.

  Hans Aberg




_______________________________________________
[email protected] http://lists.gnu.org/mailman/listinfo/help-bison

Reply via email to