|using yacc union in managed c++ email@example.com (ras) (2007-04-11)|
|Re: using yacc union in managed c++ firstname.lastname@example.org (Chris Dodd) (2007-04-13)|
|Re: using yacc union in managed c++ email@example.com (George Neuner) (2007-04-13)|
|Date:||11 Apr 2007 23:34:10 -0400|
|Keywords:||yacc, C++, question|
|Posted-Date:||11 Apr 2007 23:34:10 EDT|
Is there a way to implement the union in a managed c++ yacc parser?
visual studio compiler complains about the union, so for strings i
created an array and returned the index of the string via yylval. but
i need to return operators, floating point numbers, etc. and this
seems klutzy. got any better ideas?
Return to the
Search the comp.compilers archives again.