Begin tracking the nesting of loops and switch-statements
diff --git a/glsl_parser_extras.cpp b/glsl_parser_extras.cpp
index 538d77c..877b165 100644
--- a/glsl_parser_extras.cpp
+++ b/glsl_parser_extras.cpp
@@ -637,6 +637,7 @@
    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);