summaryrefslogtreecommitdiffstats
path: root/dimension/lexer.l
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2009-11-25 14:09:06 -0500
committerTavian Barnes <tavianator@gmail.com>2009-11-25 14:09:06 -0500
commit32f46ae1ccdb01533ea61265e4c977b9307c710d (patch)
tree79e0137ea2a30fa65f9fc2b0a8c441094ec22050 /dimension/lexer.l
parentaa6106d8f1d60077aea53f216d9098a686e170f1 (diff)
downloaddimension-32f46ae1ccdb01533ea61265e4c977b9307c710d.tar.xz
Support solid-color pigments.
Diffstat (limited to 'dimension/lexer.l')
-rw-r--r--dimension/lexer.l6
1 files changed, 6 insertions, 0 deletions
diff --git a/dimension/lexer.l b/dimension/lexer.l
index 618bb7b..942a89f 100644
--- a/dimension/lexer.l
+++ b/dimension/lexer.l
@@ -159,10 +159,16 @@ unsigned long wchar;
"gray" PUSH_TOKEN(DMNSN_T_GRAY);
"grey" PUSH_TOKEN(DMNSN_T_GRAY);
"green" PUSH_TOKEN(DMNSN_T_GREEN);
+"pigment" PUSH_TOKEN(DMNSN_T_PIGMENT);
"red" PUSH_TOKEN(DMNSN_T_RED);
+"rgb" PUSH_TOKEN(DMNSN_T_RGB);
+"rgbf" PUSH_TOKEN(DMNSN_T_RGBF);
+"rgbft" PUSH_TOKEN(DMNSN_T_RGBFT);
+"rgbt" PUSH_TOKEN(DMNSN_T_RGBT);
"rotate" PUSH_TOKEN(DMNSN_T_ROTATE);
"sphere" PUSH_TOKEN(DMNSN_T_SPHERE);
"t" PUSH_TOKEN(DMNSN_T_T);
+"texture" PUSH_TOKEN(DMNSN_T_TEXTURE);
"transmit" PUSH_TOKEN(DMNSN_T_TRANSMIT);
"u" PUSH_TOKEN(DMNSN_T_U);
"v" PUSH_TOKEN(DMNSN_T_V);