summaryrefslogtreecommitdiffstats
path: root/dimension/lexer.l
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2010-03-23 01:53:28 -0400
committerTavian Barnes <tavianator@gmail.com>2010-03-23 01:53:28 -0400
commit1d441aea4446484342f93fbf315f7f70de8adaf7 (patch)
tree98dd1c7521155b0390976d847e841db2227a6704 /dimension/lexer.l
parent7fc84f364bcb2e37363d3e22300180ba92288811 (diff)
downloaddimension-1d441aea4446484342f93fbf315f7f70de8adaf7.tar.xz
Implement most vector functions.
Diffstat (limited to 'dimension/lexer.l')
-rw-r--r--dimension/lexer.l4
1 files changed, 4 insertions, 0 deletions
diff --git a/dimension/lexer.l b/dimension/lexer.l
index ab9bcdd..3a05ca9 100644
--- a/dimension/lexer.l
+++ b/dimension/lexer.l
@@ -254,8 +254,12 @@ unsigned long wchar;
"up" RETURN_TOKEN(DMNSN_T_UP);
"v" RETURN_TOKEN(DMNSN_T_V);
"val" RETURN_TOKEN(DMNSN_T_VAL);
+"vaxis_rotate" RETURN_TOKEN(DMNSN_T_VAXIS_ROTATE);
+"vcross" RETURN_TOKEN(DMNSN_T_VCROSS);
"vdot" RETURN_TOKEN(DMNSN_T_VDOT);
"vlength" RETURN_TOKEN(DMNSN_T_VLENGTH);
+"vrotate" RETURN_TOKEN(DMNSN_T_VROTATE);
+"vnormalize" RETURN_TOKEN(DMNSN_T_VNORMALIZE);
"x" RETURN_TOKEN(DMNSN_T_X);
"y" RETURN_TOKEN(DMNSN_T_Y);
"yes" RETURN_TOKEN(DMNSN_T_YES);