summaryrefslogtreecommitdiffstats
path: root/dimension/grammar.epilogue
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2010-03-22 22:07:29 -0400
committerTavian Barnes <tavianator@gmail.com>2010-03-22 22:07:29 -0400
commit7fc84f364bcb2e37363d3e22300180ba92288811 (patch)
tree66d12cb09c22d4df311feffd4d418bfae6ba5568 /dimension/grammar.epilogue
parent80b15832f59b5a5b4e7476c6eb4099b6edccbb1b (diff)
downloaddimension-7fc84f364bcb2e37363d3e22300180ba92288811.tar.xz
Support the ternary operator.
Diffstat (limited to 'dimension/grammar.epilogue')
-rw-r--r--dimension/grammar.epilogue1
1 files changed, 1 insertions, 0 deletions
diff --git a/dimension/grammar.epilogue b/dimension/grammar.epilogue
index 881ec98..6b93dc3 100644
--- a/dimension/grammar.epilogue
+++ b/dimension/grammar.epilogue
@@ -178,6 +178,7 @@ dmnsn_astnode_string(dmnsn_astnode_type astnode_type)
dmnsn_astnode_map(DMNSN_AST_AND, "&" );
dmnsn_astnode_map(DMNSN_AST_OR, "|" );
dmnsn_astnode_map(DMNSN_AST_NOT, "!" );
+ dmnsn_astnode_map(DMNSN_AST_TERNARY, "?:");
dmnsn_astnode_map(DMNSN_AST_ABS, "abs" );
dmnsn_astnode_map(DMNSN_AST_ACOS, "acos" );