summaryrefslogtreecommitdiffstats
path: root/dimension/lexer.l
diff options
context:
space:
mode:
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 9510bcf..cd02da1 100644
--- a/dimension/lexer.l
+++ b/dimension/lexer.l
@@ -208,6 +208,9 @@ unsigned long wchar;
(?# Directives)
"#declare" RETURN_TOKEN(DMNSN_T_DECLARE);
+"#else" RETURN_TOKEN(DMNSN_T_ELSE);
+"#end" RETURN_TOKEN(DMNSN_T_END);
+"#if" RETURN_TOKEN(DMNSN_T_IF);
"#include" RETURN_TOKEN(DMNSN_T_INCLUDE);
"#local" RETURN_TOKEN(DMNSN_T_LOCAL);
"#undef" RETURN_TOKEN(DMNSN_T_UNDEF);