[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
adding variable to yyparse function scope
From: |
Bob Rossi |
Subject: |
adding variable to yyparse function scope |
Date: |
Fri, 13 Jul 2007 10:55:33 -0400 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
Hi,
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
Any ideas?
Thanks,
Bob Rossi
- adding variable to yyparse function scope,
Bob Rossi <=