aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/decl.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cp/decl.c')
-rw-r--r--gcc/cp/decl.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c
index 8676698..095c6fd 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"
};