summaryrefslogtreecommitdiffstats
path: root/dimension/grammar.epilogue
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2010-03-22 13:53:24 -0400
committerTavian Barnes <tavianator@gmail.com>2010-03-22 13:53:24 -0400
commit80b15832f59b5a5b4e7476c6eb4099b6edccbb1b (patch)
tree089318e423a51487e2de1cf58bb1dcd4e3f1f662 /dimension/grammar.epilogue
parentac591cc542f039af8f66567439fbb0aee3d93963 (diff)
downloaddimension-80b15832f59b5a5b4e7476c6eb4099b6edccbb1b.tar.xz
Handle built-in vector IDs the same way as floats.
Diffstat (limited to 'dimension/grammar.epilogue')
-rw-r--r--dimension/grammar.epilogue4
1 files changed, 4 insertions, 0 deletions
diff --git a/dimension/grammar.epilogue b/dimension/grammar.epilogue
index 08587f9..881ec98 100644
--- a/dimension/grammar.epilogue
+++ b/dimension/grammar.epilogue
@@ -217,6 +217,10 @@ dmnsn_astnode_string(dmnsn_astnode_type astnode_type)
dmnsn_astnode_map(DMNSN_AST_PI, "pi" );
dmnsn_astnode_map(DMNSN_AST_TRUE, "true" );
dmnsn_astnode_map(DMNSN_AST_FALSE, "false");
+ dmnsn_astnode_map(DMNSN_AST_X, "x" );
+ dmnsn_astnode_map(DMNSN_AST_Y, "y" );
+ dmnsn_astnode_map(DMNSN_AST_Z, "z" );
+ dmnsn_astnode_map(DMNSN_AST_T, "t" );
dmnsn_astnode_map(DMNSN_AST_NEGATE, "-");
dmnsn_astnode_map(DMNSN_AST_DOT_X, ".x");