summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--glcpp/glcpp-lex.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/glcpp/glcpp-lex.l b/glcpp/glcpp-lex.l
index fabe756603..afddd7ddb3 100644
--- a/glcpp/glcpp-lex.l
+++ b/glcpp/glcpp-lex.l
@@ -97,7 +97,7 @@ HEXADECIMAL_INTEGER 0[xX][0-9a-fA-F]+[uU]?
return HASH_IFNDEF;
}
-{HASH}if/.*\n {
+{HASH}if{HSPACE}/.*\n {
yyextra->lexing_if = 1;
yyextra->space_tokens = 0;
return HASH_IF;