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

View File

@@ -20,16 +20,16 @@ typedef struct
size_t col, row;
node_type_t type;
int loop_ref;
} node_t;
} ast_node_t;
struct PResult
{
node_t *nodes;
ast_node_t *nodes;
size_t size;
size_t labels;
};
char *ast_to_str(node_t *ast, size_t size);
char *ast_to_str(ast_node_t *ast, size_t size);
struct PResult parse_buffer(buffer_t *buffer);
#endif