diff options
Diffstat (limited to 'src/semantic-analysis.c')
-rw-r--r-- | src/semantic-analysis.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/semantic-analysis.c b/src/semantic-analysis.c index 14ad4b5..15b3f8c 100644 --- a/src/semantic-analysis.c +++ b/src/semantic-analysis.c @@ -816,7 +816,7 @@ static bool process_statement(CcmmcAst *stmt, CcmmcSymbolTable *table) case CCMMC_KIND_STMT_RETURN: for (CcmmcAst *func = stmt->parent; ; func = func->parent) { if (func->type_node == CCMMC_AST_NODE_DECL && - func->value_decl.kind == CCMMC_KIND_DECL_FUNCTION) { + func->value_decl.kind == CCMMC_KIND_DECL_FUNCTION) { func_sym = ccmmc_symbol_table_retrieve(table, func->child->right_sibling->value_id.name); break; |