From bf3767fa7f0f1687d930d0d137e76a0206545fd6 Mon Sep 17 00:00:00 2001 From: c Date: Sat, 25 Nov 2023 10:37:37 -0500 Subject: Functions with single arguments are possible. --- src/include/tree.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/include/tree.h') 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; -- cgit v1.2.3