Fix some other code

This commit is contained in:
Mike Nolan 2023-05-11 06:42:10 -05:00
parent ff2140ddd8
commit 1f578e25fa
1 changed files with 2 additions and 2 deletions

View File

@ -1,11 +1,11 @@
#include "tlang.h"
extern void __node_two_free(node_t* n);
extern void __node_single_free(node_t* n);
node_t* __case_node_exec(node_t* n,scope_t* s,retarg_t* retArg)
tobject_t* __case_node_exec(node_t* n,scope_t* s,retarg_t* retArg)
{
return n->data.two_node_node.right->execute(n->data.two_node_node.right,s,retArg);
}
node_t* __default_node_exec(node_t* n,scope_t* s,retarg_t* retArg)
tobject_t* __default_node_exec(node_t* n,scope_t* s,retarg_t* retArg)
{
return n->data.single_node_node->execute(n->data.single_node_node,s,retArg);
}