File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed
regression/verilog/modules Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 11KNOWNBUG
2- parameter_ports4 .sv
2+ type_parameter_port1 .sv
33
44^EXIT=0$
55^SIGNAL=0$
File renamed without changes.
Original file line number Diff line number Diff line change @@ -1985,6 +1985,8 @@ list_of_variable_identifiers:
19851985parameter_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
@@ -3161,7 +3163,10 @@ named_parameter_assignment_brace:
31613163 ;
31623164
31633165ordered_parameter_assignment:
3164- expression;
3166+ expression
3167+ | data_type
3168+ { init ($$, ID_type); stack_expr ($$).type () = stack_type ($1 ); }
3169+ ;
31653170
31663171named_parameter_assignment:
31673172 ' .' parameter_identifier ' (' expression_opt ' )'
You can’t perform that action at this time.
0 commit comments