Patch that fixes parser.y compiling with bison version 2.5.
Interesting, I don't see anything on http://www.gnu.org/software/bison/manual/bison.html saying that "$$" can't be used any more, what problems exactly does bison 2.5 have with the current version?
Also, is this syntax compatible with the previous ones?
It's only for that branch, it is too old and so doesn't have the changes allowing it to build with bison 2.4 and later... It gives me lots of
"/home/zubr/dev/gsoc/swig-bison/Source/CParse/parser.y:3299.20-21: $$ for the midrule at $6 of `cpp_class_decl' has no declared type"
errors, so I've inspected the trunk commit log and found the changes to allow it to compile with latest bison (2.5 that I have).
Actually, I put in these fixes a year or two back on trunk. They may not be in the branch. The patch provided looks okay to me, but we need to merge trunk into the branch rather than provide separate patches. So I'm closing as out of date. Any development on the branch will have to use an older bison until any merge is done. When further serious development is done on this branch, I will merge trunk on to it.