summaryrefslogtreecommitdiffstats
path: root/dimension/lexer.l
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2010-03-20 02:01:16 -0400
committerTavian Barnes <tavianator@gmail.com>2010-03-20 02:01:16 -0400
commit4566f4e34afaab1c47120e8a377859d88a142ffe (patch)
tree626541ad48efe078a4e6f86cf1af903d8225320b /dimension/lexer.l
parentfc06cb624d79788923ab2dedb3cd2ccab53cb2b4 (diff)
downloaddimension-4566f4e34afaab1c47120e8a377859d88a142ffe.tar.xz
A bunch more float functions.
Diffstat (limited to 'dimension/lexer.l')
-rw-r--r--dimension/lexer.l17
1 files changed, 16 insertions, 1 deletions
diff --git a/dimension/lexer.l b/dimension/lexer.l
index 4f12f31..3d30f0b 100644
--- a/dimension/lexer.l
+++ b/dimension/lexer.l
@@ -172,21 +172,36 @@ unsigned long wchar;
}
(?# Keywords)
+"abs" RETURN_TOKEN(DMNSN_T_ABS);
+"acos" RETURN_TOKEN(DMNSN_T_ACOS);
+"acosh" RETURN_TOKEN(DMNSN_T_ACOSH);
"ambient" RETURN_TOKEN(DMNSN_T_AMBIENT);
"angle" RETURN_TOKEN(DMNSN_T_ANGLE);
+"asc" RETURN_TOKEN(DMNSN_T_ASC);
+"asin" RETURN_TOKEN(DMNSN_T_ASIN);
+"asinh" RETURN_TOKEN(DMNSN_T_ASINH);
"assumed_gamma" RETURN_TOKEN(DMNSN_T_ASSUMED_GAMMA);
+"atan" RETURN_TOKEN(DMNSN_T_ATAN);
+"atan2" RETURN_TOKEN(DMNSN_T_ATAN2);
+"atanh" RETURN_TOKEN(DMNSN_T_ATANH);
"background" RETURN_TOKEN(DMNSN_T_BACKGROUND);
"box" RETURN_TOKEN(DMNSN_T_BOX);
"blue" RETURN_TOKEN(DMNSN_T_BLUE);
+"ceil" RETURN_TOKEN(DMNSN_T_CEIL);
"camera" RETURN_TOKEN(DMNSN_T_CAMERA);
"color" RETURN_TOKEN(DMNSN_T_COLOR);
"colour" RETURN_TOKEN(DMNSN_T_COLOR);
-"direction" RETURN_TOKEN(DMNSN_T_DIRECTION);
+"cos" RETURN_TOKEN(DMNSN_T_COS);
+"cosh" RETURN_TOKEN(DMNSN_T_COSH);
+"degrees" RETURN_TOKEN(DMNSN_T_DEGREES);
"diffuse" RETURN_TOKEN(DMNSN_T_DIFFUSE);
+"direction" RETURN_TOKEN(DMNSN_T_DIRECTION);
+"div" RETURN_TOKEN(DMNSN_T_DIV);
"exp" RETURN_TOKEN(DMNSN_T_EXP);
"falloff" RETURN_TOKEN(DMNSN_T_FALLOFF);
"filter" RETURN_TOKEN(DMNSN_T_FILTER);
"finish" RETURN_TOKEN(DMNSN_T_FINISH);
+"floor" RETURN_TOKEN(DMNSN_T_FLOOR);
"global_settings" RETURN_TOKEN(DMNSN_T_GLOBAL_SETTINGS);
"gray" RETURN_TOKEN(DMNSN_T_GRAY);
"grey" RETURN_TOKEN(DMNSN_T_GRAY);