This code may allow illegal output definitions as well (such as function [3:0] f(output a); endfunction), though this case seems somewhat pathological. Fixing it would require adding a few more parser rules, which I can do if requested.
Please let me know if any other changes should be made.
Addresses #100.
This code may allow illegal
output
definitions as well (such asfunction [3:0] f(output a); endfunction
), though this case seems somewhat pathological. Fixing it would require adding a few more parser rules, which I can do if requested.Please let me know if any other changes should be made.