aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorc+12023-11-21 13:58:06 -0500
committerc+12023-11-21 13:58:06 -0500
commita2a5e863dc9beb4bc7a73a7361d8e208599134c9 (patch)
tree13acb631f31b7850842c59149a0902280fd023a9 /src/include
parentc3c0f8f78085bdc4698263513aea0c9b2d33bae4 (diff)
Memory leaks alleviated.
Diffstat (limited to 'src/include')
-rw-r--r--src/include/tree.h14
1 files changed, 7 insertions, 7 deletions
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;