diff options
author | Tavian Barnes <tavianator@gmail.com> | 2010-03-09 12:10:33 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2010-03-09 12:10:33 -0500 |
commit | e0f1df0155c91c61167af87aee7dd653a33409f7 (patch) | |
tree | 122f8dfecedba8502573a13afd8d1c4811a29773 /dimension/lexer.l | |
parent | 2afc9be712c69a66833de75683cdbaa3886379f1 (diff) | |
download | dimension-e0f1df0155c91c61167af87aee7dd653a33409f7.tar.xz |
Preliminary support for global_settings.
Diffstat (limited to 'dimension/lexer.l')
-rw-r--r-- | dimension/lexer.l | 91 |
1 files changed, 47 insertions, 44 deletions
diff --git a/dimension/lexer.l b/dimension/lexer.l index 6531e0c..05c6711 100644 --- a/dimension/lexer.l +++ b/dimension/lexer.l @@ -163,50 +163,53 @@ unsigned long wchar; } (?# Keywords) -"ambient" RETURN_TOKEN(DMNSN_T_AMBIENT); -"angle" RETURN_TOKEN(DMNSN_T_ANGLE); -"background" RETURN_TOKEN(DMNSN_T_BACKGROUND); -"box" RETURN_TOKEN(DMNSN_T_BOX); -"blue" RETURN_TOKEN(DMNSN_T_BLUE); -"camera" RETURN_TOKEN(DMNSN_T_CAMERA); -"color" RETURN_TOKEN(DMNSN_T_COLOR); -"colour" RETURN_TOKEN(DMNSN_T_COLOR); -"direction" RETURN_TOKEN(DMNSN_T_DIRECTION); -"diffuse" RETURN_TOKEN(DMNSN_T_DIFFUSE); -"falloff" RETURN_TOKEN(DMNSN_T_FALLOFF); -"filter" RETURN_TOKEN(DMNSN_T_FILTER); -"finish" RETURN_TOKEN(DMNSN_T_FINISH); -"gray" RETURN_TOKEN(DMNSN_T_GRAY); -"grey" RETURN_TOKEN(DMNSN_T_GRAY); -"green" RETURN_TOKEN(DMNSN_T_GREEN); -"interior" RETURN_TOKEN(DMNSN_T_INTERIOR); -"ior" RETURN_TOKEN(DMNSN_T_IOR); -"location" RETURN_TOKEN(DMNSN_T_LOCATION); -"look_at" RETURN_TOKEN(DMNSN_T_LOOK_AT); -"light_source" RETURN_TOKEN(DMNSN_T_LIGHT_SOURCE); -"perspective" RETURN_TOKEN(DMNSN_T_PERSPECTIVE); -"phong" RETURN_TOKEN(DMNSN_T_PHONG); -"phong_size" RETURN_TOKEN(DMNSN_T_PHONG_SIZE); -"pigment" RETURN_TOKEN(DMNSN_T_PIGMENT); -"red" RETURN_TOKEN(DMNSN_T_RED); -"reflection" RETURN_TOKEN(DMNSN_T_REFLECTION); -"rgb" RETURN_TOKEN(DMNSN_T_RGB); -"rgbf" RETURN_TOKEN(DMNSN_T_RGBF); -"rgbft" RETURN_TOKEN(DMNSN_T_RGBFT); -"rgbt" RETURN_TOKEN(DMNSN_T_RGBT); -"right" RETURN_TOKEN(DMNSN_T_RIGHT); -"rotate" RETURN_TOKEN(DMNSN_T_ROTATE); -"sphere" RETURN_TOKEN(DMNSN_T_SPHERE); -"sky" RETURN_TOKEN(DMNSN_T_SKY); -"t" RETURN_TOKEN(DMNSN_T_T); -"texture" RETURN_TOKEN(DMNSN_T_TEXTURE); -"transmit" RETURN_TOKEN(DMNSN_T_TRANSMIT); -"u" RETURN_TOKEN(DMNSN_T_U); -"up" RETURN_TOKEN(DMNSN_T_UP); -"v" RETURN_TOKEN(DMNSN_T_V); -"x" RETURN_TOKEN(DMNSN_T_X); -"y" RETURN_TOKEN(DMNSN_T_Y); -"z" RETURN_TOKEN(DMNSN_T_Z); +"ambient" RETURN_TOKEN(DMNSN_T_AMBIENT); +"angle" RETURN_TOKEN(DMNSN_T_ANGLE); +"assumed_gamma" RETURN_TOKEN(DMNSN_T_ASSUMED_GAMMA); +"background" RETURN_TOKEN(DMNSN_T_BACKGROUND); +"box" RETURN_TOKEN(DMNSN_T_BOX); +"blue" RETURN_TOKEN(DMNSN_T_BLUE); +"camera" RETURN_TOKEN(DMNSN_T_CAMERA); +"color" RETURN_TOKEN(DMNSN_T_COLOR); +"colour" RETURN_TOKEN(DMNSN_T_COLOR); +"direction" RETURN_TOKEN(DMNSN_T_DIRECTION); +"diffuse" RETURN_TOKEN(DMNSN_T_DIFFUSE); +"falloff" RETURN_TOKEN(DMNSN_T_FALLOFF); +"filter" RETURN_TOKEN(DMNSN_T_FILTER); +"finish" RETURN_TOKEN(DMNSN_T_FINISH); +"global_settings" RETURN_TOKEN(DMNSN_T_GLOBAL_SETTINGS); +"gray" RETURN_TOKEN(DMNSN_T_GRAY); +"grey" RETURN_TOKEN(DMNSN_T_GRAY); +"green" RETURN_TOKEN(DMNSN_T_GREEN); +"interior" RETURN_TOKEN(DMNSN_T_INTERIOR); +"ior" RETURN_TOKEN(DMNSN_T_IOR); +"location" RETURN_TOKEN(DMNSN_T_LOCATION); +"look_at" RETURN_TOKEN(DMNSN_T_LOOK_AT); +"light_source" RETURN_TOKEN(DMNSN_T_LIGHT_SOURCE); +"max_trace_level" RETURN_TOKEN(DMNSN_T_MAX_TRACE_LEVEL); +"perspective" RETURN_TOKEN(DMNSN_T_PERSPECTIVE); +"phong" RETURN_TOKEN(DMNSN_T_PHONG); +"phong_size" RETURN_TOKEN(DMNSN_T_PHONG_SIZE); +"pigment" RETURN_TOKEN(DMNSN_T_PIGMENT); +"red" RETURN_TOKEN(DMNSN_T_RED); +"reflection" RETURN_TOKEN(DMNSN_T_REFLECTION); +"rgb" RETURN_TOKEN(DMNSN_T_RGB); +"rgbf" RETURN_TOKEN(DMNSN_T_RGBF); +"rgbft" RETURN_TOKEN(DMNSN_T_RGBFT); +"rgbt" RETURN_TOKEN(DMNSN_T_RGBT); +"right" RETURN_TOKEN(DMNSN_T_RIGHT); +"rotate" RETURN_TOKEN(DMNSN_T_ROTATE); +"sphere" RETURN_TOKEN(DMNSN_T_SPHERE); +"sky" RETURN_TOKEN(DMNSN_T_SKY); +"t" RETURN_TOKEN(DMNSN_T_T); +"texture" RETURN_TOKEN(DMNSN_T_TEXTURE); +"transmit" RETURN_TOKEN(DMNSN_T_TRANSMIT); +"u" RETURN_TOKEN(DMNSN_T_U); +"up" RETURN_TOKEN(DMNSN_T_UP); +"v" RETURN_TOKEN(DMNSN_T_V); +"x" RETURN_TOKEN(DMNSN_T_X); +"y" RETURN_TOKEN(DMNSN_T_Y); +"z" RETURN_TOKEN(DMNSN_T_Z); (?# Directives) #[\b\r\t\v ]*break RETURN_TOKEN(DMNSN_T_BREAK); |