diff options
author | marha <marha@users.sourceforge.net> | 2011-12-14 08:32:15 +0100 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2011-12-14 08:32:15 +0100 |
commit | 53d28537755790ee4625dc16f560cad5aa93f56b (patch) | |
tree | 1c93b584de655b109ec12adc448fc6c6a4e98ee5 /mesalib/src/glsl/glsl_parser.yy | |
parent | b9c84e8e3433d8804b99ec82065ec1e920469d87 (diff) | |
download | vcxsrv-53d28537755790ee4625dc16f560cad5aa93f56b.tar.gz vcxsrv-53d28537755790ee4625dc16f560cad5aa93f56b.tar.bz2 vcxsrv-53d28537755790ee4625dc16f560cad5aa93f56b.zip |
git update mesa 14 dec 2011
Diffstat (limited to 'mesalib/src/glsl/glsl_parser.yy')
-rw-r--r-- | mesalib/src/glsl/glsl_parser.yy | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/mesalib/src/glsl/glsl_parser.yy b/mesalib/src/glsl/glsl_parser.yy index 71ab039d6..8a0377f49 100644 --- a/mesalib/src/glsl/glsl_parser.yy +++ b/mesalib/src/glsl/glsl_parser.yy @@ -32,6 +32,12 @@ #define YYLEX_PARAM state->scanner +#undef yyerror + +static void yyerror(YYLTYPE *loc, _mesa_glsl_parse_state *st, const char *msg) +{ + _mesa_glsl_error(loc, st, "%s", msg); +} %} %pure-parser |