summaryrefslogtreecommitdiffstats
path: root/src/glsl/glcpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/glsl/glcpp')
-rw-r--r--src/glsl/glcpp/glcpp-lex.l1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glsl/glcpp/glcpp-lex.l b/src/glsl/glcpp/glcpp-lex.l
index 6a91b09954a..53e85556c16 100644
--- a/src/glsl/glcpp/glcpp-lex.l
+++ b/src/glsl/glcpp/glcpp-lex.l
@@ -36,6 +36,7 @@
yylloc->first_line = yylineno; \
yycolumn += yyleng; \
} while(0);
+#define YY_USER_INIT yylineno = 0; yycolumn = 0;
%}
%option bison-bridge bison-locations reentrant noyywrap