#1247 Fix syntax errors in parser rules.

closed-accepted
nobody
5
2012-08-01
2012-08-01
No

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.

Discussion

  • Stephen Williams

    • status: open --> open-accepted
     
  • Stephen Williams

    Also applied to git v0_9-branch.

     
  • Stephen Williams

    Applied to git master.

     
  • Stephen Williams

    • status: open-accepted --> closed-accepted
     

Log in to post a comment.