node_t -> ast_node_t

Clearer to understand the intent of node_t as a direct result of
parsing source code.
This commit is contained in:
2024-12-24 23:18:52 +00:00
parent fbf2202cfd
commit 9fb9413c45
4 changed files with 11 additions and 11 deletions

4
obi.c
View File

@@ -25,11 +25,11 @@ typedef struct
#endif
} machine_t;
void interpret(machine_t *cpu, node_t *ast, size_t num)
void interpret(machine_t *cpu, ast_node_t *ast, size_t num)
{
for (size_t i = 0; i < num; ++i)
{
node_t node = ast[i];
ast_node_t node = ast[i];
switch (node.type)
{
case NEXT: