Skip to content

Commit 5828018

Browse files
committed
Grammar issue
1 parent ced9c19 commit 5828018

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: Zend/zend_language_parser.y

+3-3
Original file line numberDiff line numberDiff line change
@@ -964,9 +964,9 @@ attributed_class_statement:
964964
property_modifiers optional_type_without_static property_list ';'
965965
{ $$ = zend_ast_create(ZEND_AST_PROP_GROUP, $2, $3, NULL);
966966
$$->attr = $1; }
967-
/*| property_modifiers optional_type_without_static hooked_property
967+
| property_modifiers optional_type_without_static hooked_property
968968
{ $$ = zend_ast_create(ZEND_AST_PROP_GROUP, $2, zend_ast_create_list(1, ZEND_AST_PROP_DECL, $3), NULL);
969-
$$->attr = $1; }*/
969+
$$->attr = $1; }
970970
| class_const_modifiers T_CONST class_const_list ';'
971971
{ $$ = zend_ast_create(ZEND_AST_CLASS_CONST_GROUP, $3, NULL, NULL);
972972
$$->attr = $1; }
@@ -1125,7 +1125,7 @@ property_hook_list:
11251125

11261126
optional_property_hook_list:
11271127
%empty { $$ = NULL; }
1128-
/*| '{' property_hook_list '}' { $$ = $2; }*/
1128+
| '{' property_hook_list '}' { $$ = $2; }
11291129
;
11301130

11311131
property_hook_modifiers:

0 commit comments

Comments
 (0)