diff options
author | gdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-09-19 03:12:31 +0000 |
---|---|---|
committer | gdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-09-19 03:12:31 +0000 |
commit | ccc812a4c9ca1164f2a44b6a590f11589b2956b9 (patch) | |
tree | 02bd56caf5ca8eab1783eac3a48281af2b606c30 /gcc/cp/decl.c | |
parent | d2424e5ae1d3fe44dcbbe4e9c3675c49517ef04b (diff) | |
download | gcc-ccc812a4c9ca1164f2a44b6a590f11589b2956b9.tar.gz |
* decl.c (cxx_scope_descriptor): Fix thinko.
(struct cp_binding_level): Adjust type of binding_depth field.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71557 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/decl.c')
-rw-r--r-- | gcc/cp/decl.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c index 8676698b2eb..095c6fdd61b 100644 --- a/gcc/cp/decl.c +++ b/gcc/cp/decl.c @@ -371,7 +371,7 @@ struct cp_binding_level GTY(()) tree dead_vars_from_for; /* Binding depth at which this level began. */ - unsigned binding_depth; + int binding_depth; /* The kind of scope that this object represents. However, a SK_TEMPLATE_SPEC scope is represented with KIND set to @@ -455,6 +455,9 @@ cxx_scope_descriptor (cxx_scope *scope) "try-scope", "catch-scope", "for-scope", + "function-parameter-scope", + "class-scope", + "namespace-scope", "template-parameter-scope", "template-explicit-spec-scope" }; |