summaryrefslogtreecommitdiffstats
path: root/dimension/lexer.l
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2010-02-03 02:38:30 -0500
committerTavian Barnes <tavianator@gmail.com>2010-02-03 02:38:30 -0500
commit58bd8b3b09a11ee2f698e21608ef71c65d97f804 (patch)
tree7f2c37c9a14a3ff2842f95897ea485acf96eae89 /dimension/lexer.l
parent3f660a9b219b03bd5188cd4f0da9a58f507a933a (diff)
downloaddimension-58bd8b3b09a11ee2f698e21608ef71c65d97f804.tar.xz
Implement #while.
Diffstat (limited to 'dimension/lexer.l')
-rw-r--r--dimension/lexer.l1
1 files changed, 1 insertions, 0 deletions
diff --git a/dimension/lexer.l b/dimension/lexer.l
index 14096d1..24195c0 100644
--- a/dimension/lexer.l
+++ b/dimension/lexer.l
@@ -216,6 +216,7 @@ unsigned long wchar;
"#include" RETURN_TOKEN(DMNSN_T_INCLUDE);
"#local" RETURN_TOKEN(DMNSN_T_LOCAL);
"#undef" RETURN_TOKEN(DMNSN_T_UNDEF);
+"#while" RETURN_TOKEN(DMNSN_T_WHILE);
(?# Identifiers)
[[:alpha:]][[:alnum:]_]* RETURN_VALUE_TOKEN(DMNSN_T_IDENTIFIER);