wip: working on analyzer

- Feat: add `nest_ctx` and `fin_ctx` fns for working with context and
environment
- Feat: add block analyzer
- Feat: add conditional statement analyzer
This commit is contained in:
samsonium
2026-10-26 21:34:54 +03:00
parent 62ae05b4cd
commit a70ad011f3
9 changed files with 165 additions and 35 deletions
+1 -2
View File
@@ -13,8 +13,7 @@ fzl_an_res_t analyze_identifier(fzl_analyzer_t *analyzer, fzl_node_t *id)
if (!id || id->type != FZL_NODETYPE_IDENTIFIER)
{
snprintf(id_problem, sizeof(id_problem), "cannot parse identifier");
an_push_error(analyzer, NULL, id_problem);
an_push_error(analyzer, NULL, "provided node is not typeof IDENTIFIER");
return (fzl_an_res_t){.error = true};
}