Open
Description
Hello, the following file could not be parsed:
https://github.com/KatCe/pyverilog_issue_125/blob/main/picorv32_sv2v_out.v
Got the following error:
Pyverilog/pyverilog/vparser/parser.py", line 1589, in p_if_statement_woelse
p[0].end_lineno = p[5].end_lineno
AttributeError: 'ForStatement' object has no attribute 'end_lineno'
Pyverilog commit: 81838bc
My setup:
Python 3.9.5
iverilog/focal,now 10.3-1build1 amd64 [installed]
Name: Jinja2
Version: 3.1.2
Name: ply
Version: 3.11
Metadata
Metadata
Assignees
Labels
No labels