diff options
author | c | 2023-11-25 10:37:37 -0500 |
---|---|---|
committer | c | 2023-11-25 10:37:37 -0500 |
commit | bf3767fa7f0f1687d930d0d137e76a0206545fd6 (patch) | |
tree | 30bc03851ecfa3618c19b4de4a895fc7fc284abd /src/include/tree.h | |
parent | 930ca8d3b760b33123ba877514a49eca5af35a6a (diff) |
Functions with single arguments are possible.
Diffstat (limited to 'src/include/tree.h')
-rw-r--r-- | src/include/tree.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/include/tree.h b/src/include/tree.h index 3d3bcbd..8954ef8 100644 --- a/src/include/tree.h +++ b/src/include/tree.h @@ -12,7 +12,7 @@ typedef enum TREE_TYPE { TREE_TYPE_DARG, TREE_TYPE_CARG, TREE_TYPE_DEF, - TREE_TYPE_CAL, + TREE_TYPE_CALL, } tree_type_t; /* The Abstract Syntax Tree (AST) structure. */ @@ -74,10 +74,10 @@ typedef struct TREE { } def; /* Calls. */ - struct TREE_DATA_CAL { + struct TREE_DATA_CALL { char* target; struct TREE* arg; /* CARG */ - } cal; + } call; } data; } tree_t; |