edge case fix

This commit is contained in:
Miodrag Milanovic 2025-02-05 14:49:00 +01:00
parent ef07eb080e
commit af81ad935b
1 changed files with 2 additions and 0 deletions

View File

@ -32,6 +32,8 @@ def parse_line(item,fout):
elif line[0] in ["input", "output" ,"inout"]:
items = " ".join(line[1:]).strip().split(",")
for it in items:
if "=" in it:
it = it[:it.find("=")].strip()
name = it.split(" ")[-1].strip()
if len(name)>0:
export_name(name, fout)