This fixes a regression in the generated code from when I did the
ir_validate.cpp-driven rework of assignments.
}
}
+ instructions->push_tail(var);
+
if (decl->initializer != NULL) {
YYLTYPE initializer_loc = decl->initializer->get_location();
decl->identifier);
}
- instructions->push_tail(var);
-
/* Add the variable to the symbol table after processing the initializer.
* This differs from most C-like languages, but it follows the GLSL
* specification. From page 28 (page 34 of the PDF) of the GLSL 1.50