Hi

I would know the expected token in a parser (GLR also..l) when yyerror
function is invoked. For example:

A = aB | bB
B = b | c
etc....

if the string in input is "ad$", in yyerror I would capture correct tokens
expected...like b or c.

Ho I can make that?

Many Thanks

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

Reply via email to