summaryrefslogtreecommitdiffstats
path: root/dimension/lexer.l
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2010-03-23 19:49:41 -0400
committerTavian Barnes <tavianator@gmail.com>2010-03-23 19:49:41 -0400
commit5952fd7587af834d6fee3443ad97c2ee11be81e1 (patch)
treea0eae70bccb50b0de71509398df1049e74397eb4 /dimension/lexer.l
parent6ff7459d154210a50f2e98ca6654396b12089981 (diff)
downloaddimension-5952fd7587af834d6fee3443ad97c2ee11be81e1.tar.xz
Allow identifiers beginning with _.
Diffstat (limited to 'dimension/lexer.l')
-rw-r--r--dimension/lexer.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/dimension/lexer.l b/dimension/lexer.l
index e299106..94bacee 100644
--- a/dimension/lexer.l
+++ b/dimension/lexer.l
@@ -299,7 +299,7 @@ unsigned long wchar;
}
(?# Identifiers)
-[[:alpha:]][[:alnum:]_]* RETURN_VALUE_TOKEN(DMNSN_T_IDENTIFIER);
+[[:alpha:]_][[:alnum:]_]* RETURN_VALUE_TOKEN(DMNSN_T_IDENTIFIER);
(?# Strings)