refactorin' (incapsulated CodegenContext from codegen.c)

This commit is contained in:
cozis
2022-08-13 17:42:37 +02:00
parent 1ee68745a6
commit ed02bbc9be
7 changed files with 412 additions and 361 deletions
+1 -1
View File
@@ -445,7 +445,7 @@ AST *parse(Source *src, BPAlloc *alloc, Error *error)
if(root == NULL)
return NULL;
ast->src = src; // Not copying! Be sure to not free the source before the AST!
ast->src = src; // Not copying! Be sure not to free the source before the AST!
ast->root = root;
if(ast->src == NULL)