summaryrefslogtreecommitdiffstats
path: root/dimension/grammar.epilogue
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2010-03-20 15:55:52 -0400
committerTavian Barnes <tavianator@gmail.com>2010-03-20 15:55:52 -0400
commitac3e97014885af00b5a2eb01df232221482db023 (patch)
tree39163e9eed2427580260d0097b1c7887bcc536a5 /dimension/grammar.epilogue
parent5da32d0dce6b8ade0b636b83f67b6244e6a56494 (diff)
downloaddimension-ac3e97014885af00b5a2eb01df232221482db023.tar.xz
Support max() and min().
Diffstat (limited to 'dimension/grammar.epilogue')
-rw-r--r--dimension/grammar.epilogue2
1 files changed, 2 insertions, 0 deletions
diff --git a/dimension/grammar.epilogue b/dimension/grammar.epilogue
index 05e9741..6a4a85f 100644
--- a/dimension/grammar.epilogue
+++ b/dimension/grammar.epilogue
@@ -197,6 +197,8 @@ dmnsn_astnode_string(dmnsn_astnode_type astnode_type)
dmnsn_astnode_map(DMNSN_AST_INT, "int" );
dmnsn_astnode_map(DMNSN_AST_LN, "ln" );
dmnsn_astnode_map(DMNSN_AST_LOG, "log" );
+ dmnsn_astnode_map(DMNSN_AST_MAX, "max" );
+ dmnsn_astnode_map(DMNSN_AST_MIN, "min" );
dmnsn_astnode_map(DMNSN_AST_MOD, "mod" );
dmnsn_astnode_map(DMNSN_AST_POW, "pow" );
dmnsn_astnode_map(DMNSN_AST_RADIANS, "radians");