summaryrefslogtreecommitdiffstats
path: root/dimension/parse.h
diff options
context:
space:
mode:
Diffstat (limited to 'dimension/parse.h')
-rw-r--r--dimension/parse.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/dimension/parse.h b/dimension/parse.h
index 35a82db..a34e546 100644
--- a/dimension/parse.h
+++ b/dimension/parse.h
@@ -152,7 +152,9 @@ typedef enum {
DMNSN_AST_STRING,
- DMNSN_AST_ARRAY
+ DMNSN_AST_ARRAY,
+
+ DMNSN_AST_MACRO
} dmnsn_astnode_type;
/* Abstract syntax tree node (a dmnsn_array* of these is an AST) */
@@ -164,6 +166,7 @@ typedef struct dmnsn_astnode {
/* Generic data pointer */
void *ptr;
+ dmnsn_free_fn *free_fn;
/* Reference count */
unsigned int *refcount;