Skip to content

Commit 6803ae4

Browse files
committed
SystemVerilog: type parameter ports
1 parent 029f48a commit 6803ae4

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

regression/verilog/modules/parameter_ports4.desc renamed to regression/verilog/modules/type_parameter_port1.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
KNOWNBUG
2-
parameter_ports4.sv
2+
type_parameter_port1.sv
33

44
^EXIT=0$
55
^SIGNAL=0$

src/verilog/parser.y

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1985,6 +1985,8 @@ list_of_variable_identifiers:
19851985
parameter_port_declaration:
19861986
TOK_PARAMETER data_type_or_implicit param_assignment
19871987
{ $$ = $3; }
1988+
| TOK_PARAMETER TOK_TYPE type_assignment
1989+
{ $$ = $3; }
19881990
| TOK_LOCALPARAM data_type_or_implicit param_assignment
19891991
{ $$ = $3; }
19901992
| data_type param_assignment

0 commit comments

Comments
 (0)