Commit 4f907b59 by Gabriel Dos Reis Committed by Gabriel Dos Reis

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

From-SVN: r64429
parent 95101abf
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.
......
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment