From a2a5e863dc9beb4bc7a73a7361d8e208599134c9 Mon Sep 17 00:00:00 2001 From: c+1 Date: Tue, 21 Nov 2023 13:58:06 -0500 Subject: Memory leaks alleviated. --- src/include/tree.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/include') diff --git a/src/include/tree.h b/src/include/tree.h index ba1f5a5..3d3bcbd 100644 --- a/src/include/tree.h +++ b/src/include/tree.h @@ -51,32 +51,32 @@ typedef struct TREE { /* Tags. */ struct TREE_DATA_TAG { char* val; - struct TREE_DATA_TAG* nxt; + struct TREE* nxt; /* TAG* */ } tag; /* Definition arguments. */ struct TREE_DATA_DARG { - struct TREE_DATA_TAG* tag; - struct TREE_DATA_DARG* nxt; + struct TREE* tag; /* TAG* */ + struct TREE* nxt; /* DARG */ } darg; /* Call arguments. */ struct TREE_DATA_CARG { struct TREE* val; - struct TREE_DATA_CARG* nxt; + struct TREE* nxt; /* CARG */ } carg; /* Definitions. */ struct TREE_DATA_DEF { - struct TREE_DATA_TAG* tag; - struct TREE_DATA_DARG* arg; + struct TREE* tag; /* TAG */ + struct TREE* arg; /* DARG */ struct TREE* val; } def; /* Calls. */ struct TREE_DATA_CAL { char* target; - struct TREE_DATA_CARG* arg; + struct TREE* arg; /* CARG */ } cal; } data; -- cgit v1.2.3