glsl/glcpp: Fix #pragma to not over-increment the line-number count
[mesa.git] / src / glsl / glcpp / glcpp-lex.l
index 2b92fd37e2b6df47d1a71adfc5ecc2d57c017323..430abd4bfa31a269e39c42e2ebf0f5eb85b41e85 100644 (file)
@@ -291,8 +291,6 @@ HEXADECIMAL_INTEGER 0[xX][0-9a-fA-F]+[uU]?
         * Simply pass them through to the main compiler's lexer/parser. */
 <HASH>(extension|pragma)[^\r\n]* {
        BEGIN INITIAL;
-       yylineno++;
-       yycolumn = 0;
        RETURN_STRING_TOKEN (PRAGMA);
 }