Skip to content

Commit

Permalink
Manually apply kevinpt#15
Browse files Browse the repository at this point in the history
  • Loading branch information
sd2k9 authored and sd2k9 committed Jun 7, 2023
1 parent e1153ac commit 099f888
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hdlparse/verilog_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
'module': [
(r'parameter\s*(signed|integer|realtime|real|time)?\s*(\[[^]]+\])?', 'parameter_start', 'parameters'),
(
r'^[\(\s]*(input|inout|output)\s+(reg|supply0|supply1|tri|triand|trior|tri0|tri1|wire|wand|wor)?'
r'^[\(\s]*(input|inout|output)\s+(reg|supply0|supply1|tri|triand|trior|tri0|tri1|wire|wand|wor|logic)?'
r'\s*(signed)?\s*((\[[^]]+\])+)?',
'module_port_start', 'module_port'),
(r'endmodule', 'end_module', '#pop'),
Expand All @@ -40,7 +40,7 @@
],
'module_port': [
(
r'\s*(input|inout|output)\s+(reg|supply0|supply1|tri|triand|trior|tri0|tri1|wire|wand|wor)?'
r'\s*(input|inout|output)\s+(reg|supply0|supply1|tri|triand|trior|tri0|tri1|wire|wand|wor|logic)?'
r'\s*(signed)?\s*((\[[^]]+\])+)?',
'module_port_start'),
(r'\s*(\w+)\s*,?', 'port_param'),
Expand Down

0 comments on commit 099f888

Please sign in to comment.