summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--glcpp-lex.l4
1 files changed, 2 insertions, 2 deletions
diff --git a/glcpp-lex.l b/glcpp-lex.l
index 3c9dda46d4..97ff1175f1 100644
--- a/glcpp-lex.l
+++ b/glcpp-lex.l
@@ -39,7 +39,7 @@ SPACE [[:space:]]
NONSPACE [^[:space:]]
NEWLINE [\n]
HSPACE [ \t]
-HASH ^{HSPACE}*#
+HASH ^{HSPACE}*#{HSPACE}*
IDENTIFIER [_a-zA-Z][_a-zA-Z0-9]*
TOKEN [^[:space:](),]+
@@ -109,6 +109,6 @@ TOKEN [^[:space:](),]+
return NEWLINE;
}
-{SPACE}+
+{HSPACE}+
%%