I’m trying to compile simple expr.y file from NetBSD source tree and when I use bison (GNU Bison) 2.4.2, I’m getting these errors:
expr.y:75.14: syntax error, unexpected =
expr.y:82.29: syntax error, unexpected =
What’s wrong with the file, how it should be fixed?
There are (or have been) some yacc versions out there which accept an
=before the{, e.g.just change all that occurences (in that file not more than ten) to: