We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ea3709 commit 21b54a6Copy full SHA for 21b54a6
hdlparse/vhdl_parser.py
@@ -478,6 +478,9 @@ def parse_vhdl(text):
478
param_items = []
479
last_item = generics[-1]
480
481
+ elif action == 'generic_param_default':
482
+ last_item.default_value = groups[0]
483
+
484
elif action == 'port_param':
485
param_items.append(groups[0])
486
port_param_index += 1
@@ -491,6 +494,9 @@ def parse_vhdl(text):
491
494
492
495
last_item = ports[-1]
493
496
497
+ elif action == 'port_param_default':
498
499
500
elif action == 'port_array_param_type':
501
mode, ptype = groups
502
array_range_start_pos = pos[1]
0 commit comments