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 28997af..b2658f3 100644
--- a/dimension/parse.h
+++ b/dimension/parse.h
@@ -96,7 +96,9 @@ typedef enum {
DMNSN_AST_IDENTIFIER,
- DMNSN_AST_STRING
+ DMNSN_AST_STRING,
+
+ DMNSN_AST_ARRAY
} dmnsn_astnode_type;
/* Abstract syntax tree node (a dmnsn_array* of these is an AST) */
@@ -119,6 +121,7 @@ typedef struct dmnsn_astnode {
typedef dmnsn_array dmnsn_astree;
+dmnsn_astnode dmnsn_new_ast_array();
dmnsn_astnode dmnsn_new_ast_integer(long value);
dmnsn_astnode dmnsn_new_ast_float(double value);
dmnsn_astnode dmnsn_new_ast_string(const char *value);