summaryrefslogtreecommitdiff
path: root/glsl_parser_extras.h
diff options
context:
space:
mode:
Diffstat (limited to 'glsl_parser_extras.h')
-rw-r--r--glsl_parser_extras.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/glsl_parser_extras.h b/glsl_parser_extras.h
index 125c675..b06b3fe 100644
--- a/glsl_parser_extras.h
+++ b/glsl_parser_extras.h
@@ -65,6 +65,8 @@ struct _mesa_glsl_parse_state {
const glsl_type **user_structures;
unsigned num_user_structures;
+ char *info_log;
+
/**
* \name Enable bits for GLSL extensions
*/
@@ -95,7 +97,7 @@ extern void _mesa_glsl_error(YYLTYPE *locp, _mesa_glsl_parse_state *state,
* \sa _mesa_glsl_error
*/
extern void _mesa_glsl_warning(const YYLTYPE *locp,
- const _mesa_glsl_parse_state *state,
+ _mesa_glsl_parse_state *state,
const char *fmt, ...);
extern void _mesa_glsl_lexer_ctor(struct _mesa_glsl_parse_state *state,