glsl2: Make function names and variable names be children of the node.
authorEric Anholt <eric@anholt.net>
Wed, 30 Jun 2010 18:51:54 +0000 (11:51 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 30 Jun 2010 18:52:40 +0000 (11:52 -0700)
commit0eda9ae0a6bcd6a7e014df046c87fac5caee0e9e
tree35262898ff20b7c1370be72e5fd083feaa99c9f4
parent16b68b1952d0da14b9ce8306efa64988ce46b4b7
glsl2: Make function names and variable names be children of the node.

This avoids losing their memory when the parser state is freed.
src/glsl/ir.cpp