From e9d0f265aabb39928d4d8a527684bf3b9eebc21c Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Mon, 5 Apr 2010 17:01:53 -0700 Subject: Begin tracking the nesting of loops and switch-statements --- glsl_parser_extras.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'glsl_parser_extras.cpp') diff --git a/glsl_parser_extras.cpp b/glsl_parser_extras.cpp index 538d77c663..877b165ad7 100644 --- a/glsl_parser_extras.cpp +++ b/glsl_parser_extras.cpp @@ -637,6 +637,7 @@ main(int argc, char **argv) state.symbols = new glsl_symbol_table; state.error = false; state.temp_index = 0; + state.loop_or_switch_nesting = NULL; _mesa_glsl_lexer_ctor(& state, shader, shader_len); _mesa_glsl_parse(& state); -- cgit v1.2.3