mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 13:54:21 +00:00
rename variable
This commit is contained in:
parent
9e0ff6faa2
commit
014711c57e
1 changed files with 3 additions and 3 deletions
|
|
@ -1246,9 +1246,9 @@ static void ast_parse_top_level_decls(ParseContext *pc, int *token_index, ZigLis
|
|||
continue;
|
||||
}
|
||||
|
||||
AstNode *fn_decl_node = ast_parse_fn_def(pc, token_index, false);
|
||||
if (fn_decl_node) {
|
||||
top_level_decls->append(fn_decl_node);
|
||||
AstNode *fn_def_node = ast_parse_fn_def(pc, token_index, false);
|
||||
if (fn_def_node) {
|
||||
top_level_decls->append(fn_def_node);
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue