Skip to content

Commit 6ea3253

Browse files
Add braces
1 parent b5e16cd commit 6ea3253

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Zend/zend_ast.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2024,7 +2024,7 @@ static ZEND_COLD void zend_ast_export_ex(smart_str *str, zend_ast *ast, int prio
20242024
goto simple_list;
20252025
}
20262026

2027-
case ZEND_AST_CONST_DECL:
2027+
case ZEND_AST_CONST_DECL: {
20282028
zend_ast_list *ast_list = (zend_ast_list *)ast;
20292029
// Attributes are stored at the end of the list if present;
20302030
if (ast_list->child[ast_list->children - 1]->kind == ZEND_AST_ATTRIBUTE_LIST) {
@@ -2046,6 +2046,7 @@ static ZEND_COLD void zend_ast_export_ex(smart_str *str, zend_ast *ast, int prio
20462046
}
20472047
smart_str_appends(str, "const ");
20482048
goto simple_list;
2049+
}
20492050
case ZEND_AST_CLASS_CONST_GROUP:
20502051
if (ast->child[1]) {
20512052
zend_ast_export_attributes(str, ast->child[1], indent, 1);

0 commit comments

Comments
 (0)