On 13 Jul 2007, at 16:55, Bob Rossi wrote:

Can I add a variable to the yyparse function scope from within my parser
some how? I want to ensure that the parser is reentrant. I only
currently see how to add variables to the top of the file with the
prologue rule:
http://www.gnu.org/software/bison/manual/html_mono/ bison.html#Prologue
and to the end of the file with the epilogue rule:
http://www.gnu.org/software/bison/manual/html_mono/ bison.html#Epilogue

Is it %parse-param you are looking for?
http://www.gnu.org/software/bison/manual/html_mono/ bison.html#Initial-Action-Decl

  Hans Aberg



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

Reply via email to