summaryrefslogtreecommitdiffstats
path: root/dimension/lexer.l
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2010-11-08 02:07:31 -0500
committerTavian Barnes <tavianator@gmail.com>2010-11-08 02:07:31 -0500
commit60190f7766be07d4fdee26eff6e2edc3d1842d99 (patch)
tree2c4207967a98e16c663b517f915cefb98506d57a /dimension/lexer.l
parente2d6da1e349d84b491dbbea40a34200c2d58dfe6 (diff)
downloaddimension-60190f7766be07d4fdee26eff6e2edc3d1842d99.tar.xz
Add gradient pattern support to dimension.
Diffstat (limited to 'dimension/lexer.l')
-rw-r--r--dimension/lexer.l3
1 files changed, 3 insertions, 0 deletions
diff --git a/dimension/lexer.l b/dimension/lexer.l
index 511e3df..2f84620 100644
--- a/dimension/lexer.l
+++ b/dimension/lexer.l
@@ -184,7 +184,9 @@ unsigned long wchar;
"camera" RETURN_TOKEN(DMNSN_T_CAMERA);
"checker" RETURN_TOKEN(DMNSN_T_CHECKER);
"color" RETURN_TOKEN(DMNSN_T_COLOR);
+"color_map" RETURN_TOKEN(DMNSN_T_COLOR_MAP);
"colour" RETURN_TOKEN(DMNSN_T_COLOR);
+"colour_map" RETURN_TOKEN(DMNSN_T_COLOR_MAP);
"cone" RETURN_TOKEN(DMNSN_T_CONE);
"cos" RETURN_TOKEN(DMNSN_T_COS);
"cosh" RETURN_TOKEN(DMNSN_T_COSH);
@@ -201,6 +203,7 @@ unsigned long wchar;
"finish" RETURN_TOKEN(DMNSN_T_FINISH);
"floor" RETURN_TOKEN(DMNSN_T_FLOOR);
"global_settings" RETURN_TOKEN(DMNSN_T_GLOBAL_SETTINGS);
+"gradient" RETURN_TOKEN(DMNSN_T_GRADIENT);
"gray" RETURN_TOKEN(DMNSN_T_GRAY);
"grey" RETURN_TOKEN(DMNSN_T_GRAY);
"green" RETURN_TOKEN(DMNSN_T_GREEN);