Merge branch 'main' of gitlab.aliens-lyon.fr:alucas03/c-repl into main
This commit is contained in:
commit
b3cdc2af4f
@ -361,7 +361,8 @@ AnalysisResult analyze(Node &ast, Memory &memory) {
|
|||||||
|
|
||||||
memory.declare(function_name, type);
|
memory.declare(function_name, type);
|
||||||
|
|
||||||
Function fn = { {}, memory.make_closure() };
|
Node empty_node = {};
|
||||||
|
Function fn = { empty_node, memory.make_closure() };
|
||||||
|
|
||||||
memory.update(function_name, fn);
|
memory.update(function_name, fn);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user