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 8f3f1211d5d..672ff39dc61 100644 --- a/glsl_lexer.lpp +++ b/glsl_lexer.lpp @@ -61,6 +61,7 @@ ^[ \t]*#[ \t]*extension { BEGIN PP; return EXTENSION; } ^[ \t]*#[ \t]*line { BEGIN PP; return LINE; } ^[ \t]*#[ \t]*pragma { BEGIN PP; return PRAGMA; } +<PP>\/\/[^\n]* { } <PP>: return COLON; <PP>[_a-zA-Z][_a-zA-Z0-9]* { yylval->identifier = strdup(yytext); |