summaryrefslogtreecommitdiffstats
path: root/dimension/grammar.epilogue
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2010-02-02 12:03:26 -0500
committerTavian Barnes <tavianator@gmail.com>2010-02-02 12:03:26 -0500
commit3da1fe6d2fb07f3f361482d8056e36636dcec3f5 (patch)
tree54ee1eaf680f7a97820f4a150f7d9679f3345d8b /dimension/grammar.epilogue
parentc1f6c955de83cf35fb34cc1fcf9a276bf6dbd7c8 (diff)
downloaddimension-3da1fe6d2fb07f3f361482d8056e36636dcec3f5.tar.xz
Implement #if.
Diffstat (limited to 'dimension/grammar.epilogue')
-rw-r--r--dimension/grammar.epilogue9
1 files changed, 9 insertions, 0 deletions
diff --git a/dimension/grammar.epilogue b/dimension/grammar.epilogue
index b62165e..c9e16f3 100644
--- a/dimension/grammar.epilogue
+++ b/dimension/grammar.epilogue
@@ -128,6 +128,15 @@ dmnsn_astnode_string(dmnsn_astnode_type astnode_type)
dmnsn_astnode_map(DMNSN_AST_MUL, "*");
dmnsn_astnode_map(DMNSN_AST_DIV, "/");
+ dmnsn_astnode_map(DMNSN_AST_EQUAL, "=" );
+ dmnsn_astnode_map(DMNSN_AST_NOT_EQUAL, "!=");
+ dmnsn_astnode_map(DMNSN_AST_LESS, "<" );
+ dmnsn_astnode_map(DMNSN_AST_LESS_EQUAL, "<=");
+ dmnsn_astnode_map(DMNSN_AST_GREATER, ">" );
+ dmnsn_astnode_map(DMNSN_AST_GREATER_EQUAL, ">=");
+ dmnsn_astnode_map(DMNSN_AST_AND, "&" );
+ dmnsn_astnode_map(DMNSN_AST_OR, "|" );
+
dmnsn_astnode_map(DMNSN_AST_NEGATE, "-");
dmnsn_astnode_map(DMNSN_AST_DOT_X, ".x");
dmnsn_astnode_map(DMNSN_AST_DOT_Y, ".y");