Hello Hans,

coming back to this issue after not reaching the conclusions myself and
being lost on different search machines:

> It should not be too difficult, as it now uses M4. The only problem is
when the Bison skeleton file is updated, then you have an outdated
skeleton file.

* Where do I find the correct skeleton file?
* How do I get familiar with m4 fast?
* How do I apply it (both via a manual call to bison in the makefile and
with the implicit yacc rule)?

> But you may develop it as a feature, and then integrate it into Bison
yourself, or suggest it. The feature might be an option adding an extra
argument to yyerror with a reference to the error token.

Sounds even much better. How to do this? If this isn't possible to be
applied "in-tree" (via m4 or otherwise - I guess it isn't) this would
only help people with a recent and unpublished Bison version (btw: are
there plans for a new release soon?) - or with the generated files.

Thank you for your response,
Simon

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

Reply via email to