Add query to determine whether a name was declared at this scope
authorIan Romanick <ian.d.romanick@intel.com>
Fri, 19 Mar 2010 22:37:01 +0000 (15:37 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Fri, 19 Mar 2010 22:37:01 +0000 (15:37 -0700)
commitac4fdc255ba82b96cc867f084f6b781d6e95136b
treee7352dfd4da6591d342ea9947ce005cfa0bdc49a
parent38395c1aad82abdeecbd66bca8daaa6f431c920c
Add query to determine whether a name was declared at this scope

This will be used to prevent a variable and a function with the same
name from being declared.  As a side effect, the calls to
add_{type,name,function} should never fail.
glsl_symbol_table.h