summaryrefslogtreecommitdiffstats
path: root/dimension/lexer.l
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2010-02-05 11:58:41 -0500
committerTavian Barnes <tavianator@gmail.com>2010-02-05 11:58:41 -0500
commit7eef42c72cc172a1ed8087e842905f42e737131d (patch)
treef48e27bbb5cc74cc23b1f3fc5f87bf90256d4072 /dimension/lexer.l
parent6db4b9c77718c0d5346301815283a6dcbe28689d (diff)
downloaddimension-7eef42c72cc172a1ed8087e842905f42e737131d.tar.xz
"Support" the #version directive.
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 953ef9b..90c4807 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);
+"#version" RETURN_TOKEN(DMNSN_T_VERSION);
"#while" RETURN_TOKEN(DMNSN_T_WHILE);
(?# Identifiers)