From 4566f4e34afaab1c47120e8a377859d88a142ffe Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Sat, 20 Mar 2010 02:01:16 -0400 Subject: A bunch more float functions. --- dimension/lexer.l | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) (limited to 'dimension/lexer.l') 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); -- cgit v1.2.3