* decl.c (binding_for_name): Fix initialization thinko.

From-SVN: r64429
This commit is contained in:
Gabriel Dos Reis 2003-03-16 09:16:59 +00:00 committed by Gabriel Dos Reis
parent 95101abf4b
commit 4f907b595a
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2003-03-16 Gabriel Dos Reis <gdr@integrable-solutions.net>
* decl.c (binding_for_name): Fix initialization thinko.
2003-03-15 Gabriel Dos Reis <gdr@integrable-solutions.net>
Compile-time improvement: 2/n.

View File

@ -2089,6 +2089,9 @@ binding_for_name (tree name, tree scope)
BINDING_TYPE (result) = NULL_TREE;
BINDING_VALUE (result) = NULL_TREE;
BINDING_SCOPE (result) = scope;
result->is_local = false;
result->value_is_inherited = false;
result->has_level = true;
IDENTIFIER_NAMESPACE_BINDINGS (name) = result;
return result;
}