There is also a c++ yacc parser available from 1988 in the oldest recovered version of g++, that is how g++ started. When dealing with such a complex c++ grammar maybe interesting for you to take a look how GNU long ago did such a parser. Put it as bundle at: https://code.google.com/p/oldbison/downloads/list In the file gnu1988.tar.gz Success with the difficult c++ parser code.
_______________________________________________ help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison