As reported by a user on iverilog-devel, there are a number of syntax errors in the parser rule files that generate warnings or errors when using older versions of bison. Newer versions of bison are strangely tolerant of these errors. The attached patches fix these errors (plus a few spelling/formatting issues) for both devel and v0.9.
For devel the oldest usable version of bison is v2.0, due to the use of %lex-param and %parse-param in vhdlpp/parse.y. For v0.9, the oldest usable version seems to be v1.50, but this does generate a number of compile time warnings, so v2.0 or later is recommended.
Log in to post a comment.