Skip to content

Commit 56a1193

Browse files
Add braces
1 parent aa967c4 commit 56a1193

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
@@ -1969,7 +1969,7 @@ static ZEND_COLD void zend_ast_export_ex(smart_str *str, zend_ast *ast, int prio
19691969
goto simple_list;
19701970
}
19711971

1972-
case ZEND_AST_CONST_DECL:
1972+
case ZEND_AST_CONST_DECL: {
19731973
zend_ast_list *ast_list = (zend_ast_list *)ast;
19741974
// Attributes are stored at the end of the list if present;
19751975
if (ast_list->child[ast_list->children - 1]->kind == ZEND_AST_ATTRIBUTE_LIST) {
@@ -1991,6 +1991,7 @@ static ZEND_COLD void zend_ast_export_ex(smart_str *str, zend_ast *ast, int prio
19911991
}
19921992
smart_str_appends(str, "const ");
19931993
goto simple_list;
1994+
}
19941995
case ZEND_AST_CLASS_CONST_GROUP:
19951996
if (ast->child[1]) {
19961997
zend_ast_export_attributes(str, ast->child[1], indent, 1);

0 commit comments

Comments
 (0)