Skip to content

Commit 2a3ac4a

Browse files
iluuu1994Girgias
authored andcommitted
Add missing terminators in zend_language_parser.y
Closes GH-5688
1 parent 05ed7bf commit 2a3ac4a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Zend/zend_language_parser.y

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -347,6 +347,7 @@ attributed_statement:
347347
| class_declaration_statement { $$ = $1; }
348348
| trait_declaration_statement { $$ = $1; }
349349
| interface_declaration_statement { $$ = $1; }
350+
;
350351

351352
top_statement:
352353
statement { $$ = $1; }
@@ -810,6 +811,7 @@ attributed_class_statement:
810811
return_type backup_fn_flags method_body backup_fn_flags
811812
{ $$ = zend_ast_create_decl(ZEND_AST_METHOD, $3 | $1 | $12, $2, $5,
812813
zend_ast_get_str($4), $7, NULL, $11, $9, NULL); CG(extra_fn_flags) = $10; }
814+
;
813815

814816
class_statement:
815817
attributed_class_statement { $$ = $1; }

0 commit comments

Comments
 (0)