glsl2: Fix storing of dead memory in the symbol table.
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 30 Jun 2010 18:57:43 +0000 (11:57 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Wed, 30 Jun 2010 20:52:24 +0000 (13:52 -0700)
commitc7f4ff193a6f7cfae2e4cdc6c4b9162a16226dc0
tree3d315460cb768eeba0a6139ec1117389208e4d80
parent629198b96a8f471c48932d6af56184b6c33b5fe5
glsl2: Fix storing of dead memory in the symbol table.

decl->identifier is part of the AST, so it doesn't live very long.
Instead, add var->name which is owned by var.
src/glsl/ast_to_hir.cpp