diff options
-rw-r--r-- | glsl_lexer.lpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/glsl_lexer.lpp b/glsl_lexer.lpp index 672ff39dc6..a25dbf9e2f 100644 --- a/glsl_lexer.lpp +++ b/glsl_lexer.lpp @@ -62,6 +62,7 @@ ^[ \t]*#[ \t]*line { BEGIN PP; return LINE; } ^[ \t]*#[ \t]*pragma { BEGIN PP; return PRAGMA; } <PP>\/\/[^\n]* { } +<PP>[ \t\r]* { } <PP>: return COLON; <PP>[_a-zA-Z][_a-zA-Z0-9]* { yylval->identifier = strdup(yytext); |