Skip to content

Commit

Permalink
Merge pull request #1931 from hzeller/20230522-fix-trailing-whitespace
Browse files Browse the repository at this point in the history
Remove trailing whitespace.
  • Loading branch information
hzeller authored May 22, 2023
2 parents ead6406 + 73b2e0e commit 529b519
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions verilog/parser/verilog.y
Original file line number Diff line number Diff line change
Expand Up @@ -3514,11 +3514,11 @@ instantiation_type
;

instantiation_base
: instantiation_type non_anonymous_gate_instance_or_register_variable_list
: instantiation_type non_anonymous_gate_instance_or_register_variable_list
{ $$ = MakeInstantiationBase($1, $2); }
| reference call_base ',' gate_instance_or_register_variable_list
{$$ = MakeInstantiationBase(ReinterpretReferenceAsDataTypePackedDimensions($1), ExtendNode($4,$3,$2)); }
| reference_or_call_base
| reference_or_call_base
{$$ = MakeTaggedNode(N::kFunctionCall,$1); }
;

Expand Down Expand Up @@ -3566,7 +3566,7 @@ non_anonymous_gate_instance_or_register_variable
non_anonymous_gate_instance_or_register_variable_list
: non_anonymous_gate_instance_or_register_variable_list ',' gate_instance_or_register_variable
{ $$ = ExtendNode($1, $2, $3); }
| non_anonymous_gate_instance_or_register_variable
| non_anonymous_gate_instance_or_register_variable
{ $$ = MakeTaggedNode(N::kGateInstanceRegisterVariableList, $1); }
;

Expand Down Expand Up @@ -4634,7 +4634,7 @@ call_base

//separated for chained calls (eg. foo().bar().baz())
reference_or_call_base
: reference call_base
: reference call_base
{ $$ = MakeTaggedNode(N::kReferenceCallBase, $1, $2); }
| reference_or_call_base hierarchy_or_call_extension
{ $$ = ExtendNode($1,$2); }
Expand Down Expand Up @@ -4860,7 +4860,7 @@ function_item_list
function_item
: tf_port_declaration
{ $$ = std::move($1); }
| function_item_data_declaration
| function_item_data_declaration
{ $$ = std::move($1); }
| net_type_declaration
{ $$ = std::move($1); }
Expand Down Expand Up @@ -5098,7 +5098,7 @@ array_reduction_method
{ $$ = std::move($1); }
;
array_method_with_predicate_opt
: array_method_with_predicate
: array_method_with_predicate
{$$ = std::move($1);}
| /* empty */
{ $$ = nullptr; }
Expand Down Expand Up @@ -5832,7 +5832,7 @@ module_or_generate_item
{ $$ = std::move($1); }
| gate_instantiation
{ $$ = std::move($1); }
| data_declaration_or_module_instantiation
| data_declaration_or_module_instantiation
{ $$ = std::move($1); }
| net_type_declaration
{ $$ = std::move($1); }
Expand Down Expand Up @@ -7092,7 +7092,7 @@ analog_statement
;
/* same as function_item */
task_item
: function_item_data_declaration
: function_item_data_declaration
{ $$ = std::move($1); }
/* temporarily removed
| TK_reg data_type register_variable_list ';'
Expand Down

0 comments on commit 529b519

Please sign in to comment.