#define GLSL_PARSER_EXTRAS_H
#include <cstdlib>
-#include "main/simple_list.h"
#include "glsl_symbol_table.h"
enum _mesa_glsl_parser_targets {
struct _mesa_glsl_parse_state {
void *scanner;
- struct simple_node translation_unit;
+ exec_list translation_unit;
glsl_symbol_table *symbols;
unsigned language_version;
const glsl_type **user_structures;
unsigned num_user_structures;
+ char *info_log;
+
/**
* \name Enable bits for GLSL extensions
*/
* \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,