|Passing An Object To yyparse() In C++ ... And Handling yylval In C++ F firstname.lastname@example.org (2004-03-19)|
|Date:||19 Mar 2004 23:54:14 -0500|
|Posted-Date:||19 Mar 2004 23:54:14 EST|
I found an example of a C++ reentrant parser (probably famous
I was hoping to find a more elaborate example of passing a C++ object
to the parser. Also I would like to see, through example, how to pass
values from the flexer to the yaccer in C++. The yylval thingy
doesn't work in C++ as far as I can tell... or maybe that is due to
the reentrant non-global nature of a pure parser.
I have searched for quite a while to no avail. I have banged my head
for quite some time. Ack, it hurts. Please help!!!
Return to the
Search the comp.compilers archives again.