summaryrefslogtreecommitdiffstats
path: root/dimension/lexer.l
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2009-11-24 22:21:24 -0500
committerTavian Barnes <tavianator@gmail.com>2009-11-24 22:21:24 -0500
commit819af91b95033ed34d07c0a973ad722bcaf20735 (patch)
tree7617d4b8c1760100743bf7d932ef779dba796735 /dimension/lexer.l
parentf1b92556c2189b5b5dbd5d81d966f2d2a8e9b2ab (diff)
downloaddimension-819af91b95033ed34d07c0a973ad722bcaf20735.tar.xz
Support vector component extraction.
Diffstat (limited to 'dimension/lexer.l')
-rw-r--r--dimension/lexer.l13
1 files changed, 13 insertions, 0 deletions
diff --git a/dimension/lexer.l b/dimension/lexer.l
index 2e2467c..50e9a8b 100644
--- a/dimension/lexer.l
+++ b/dimension/lexer.l
@@ -151,10 +151,23 @@ unsigned long wchar;
(?# Keywords)
"box" PUSH_TOKEN(DMNSN_T_BOX);
+"blue" PUSH_TOKEN(DMNSN_T_BLUE);
"camera" PUSH_TOKEN(DMNSN_T_CAMERA);
"color" PUSH_TOKEN(DMNSN_T_COLOR);
"colour" PUSH_TOKEN(DMNSN_T_COLOR);
+"filter" PUSH_TOKEN(DMNSN_T_FILTER);
+"gray" PUSH_TOKEN(DMNSN_T_GRAY);
+"grey" PUSH_TOKEN(DMNSN_T_GRAY);
+"green" PUSH_TOKEN(DMNSN_T_GREEN);
+"red" PUSH_TOKEN(DMNSN_T_RED);
"sphere" PUSH_TOKEN(DMNSN_T_SPHERE);
+"t" PUSH_TOKEN(DMNSN_T_T);
+"transmit" PUSH_TOKEN(DMNSN_T_TRANSMIT);
+"u" PUSH_TOKEN(DMNSN_T_U);
+"v" PUSH_TOKEN(DMNSN_T_V);
+"x" PUSH_TOKEN(DMNSN_T_X);
+"y" PUSH_TOKEN(DMNSN_T_Y);
+"z" PUSH_TOKEN(DMNSN_T_Z);
(?# Directives)
"#include" PUSH_TOKEN(DMNSN_T_INCLUDE);