refactoring: fix panic when missed arguments list

This commit is contained in:
Vadym Slizov 2020-12-04 22:38:26 +02:00
parent dfe8982121
commit f6f86bf99b
No known key found for this signature in database
GPG Key ID: AEA2A9388EF42A4A
2 changed files with 522 additions and 522 deletions

2
internal/php5/php5.go generated
View File

@ -6946,7 +6946,7 @@ yydefault:
yyDollar = yyS[yypt-0 : yypt+1]
// line internal/php5/php5.y:4531
{
yyVAL.node = nil
yyVAL.node = &ast.ArgumentList{}
}
case 352:
yyDollar = yyS[yypt-1 : yypt+1]

View File

@ -4529,7 +4529,7 @@ backticks_expr:
ctor_arguments:
/* empty */
{
$$ = nil
$$ = &ast.ArgumentList{}
}
| function_call_parameter_list
{