Adding more state to a pure parser?

Simon Richter <[email protected]> Mon, 8 Sep 2025 21:56:00 +0900
Newsgroups gmane.comp.parsers.bison.general
Message-ID <[email protected]>
Hi,

I'm using the normal C skeleton, have a few static variables defined in 
the %{ %} section, and would like to move it to a pure parser.

Is there a way to add variables to the beginning of yyparse(), so they 
are available in actions?

    Simon