diff options
author | Tavian Barnes <tavianator@gmail.com> | 2010-02-09 18:58:56 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2010-02-09 19:13:46 -0500 |
commit | d411e681e571ac054352b9665487f10037d9325d (patch) | |
tree | cf5d425426624ca4798b286fc81116e46f31cb1d /dimension/parse.h | |
parent | 7eef42c72cc172a1ed8087e842905f42e737131d (diff) | |
download | dimension-d411e681e571ac054352b9665487f10037d9325d.tar.xz |
Support #include.
Diffstat (limited to 'dimension/parse.h')
-rw-r--r-- | dimension/parse.h | 5 |
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); |