diff options
author | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-05-05 01:27:06 +0000 |
---|---|---|
committer | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-05-05 01:27:06 +0000 |
commit | 7c43cc0e6b09b119d0a26236152ad6eac9408d53 (patch) | |
tree | 5a18ae7b4648a1141acc035141e7f86ae0c82e17 /gcc/tree.def | |
parent | 2a90ad2559c5b83bd167fb791d9ba54bc1e4254e (diff) | |
download | gcc-7c43cc0e6b09b119d0a26236152ad6eac9408d53.tar.gz |
* tree.def: Add NAMESPACE_DECL.
* dwarfout.c (type_ok_for_scope): Ignore NAMESPACE_DECLs for now.
* dwarf2out.c (push_decl_scope): Likewise.
(scope_die_for): Likewise.
* tree.c (decl_function_context): Use TREE_CODE_CLASS to determine
how to get next context level.
* cp-tree.def: Remove NAMESPACE_DECL.
* cp/Makefile.in: Add .SUFFIXES.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19539 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree.def')
-rw-r--r-- | gcc/tree.def | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/tree.def b/gcc/tree.def index 292a7ea27f2..5e18393303b 100644 --- a/gcc/tree.def +++ b/gcc/tree.def @@ -331,6 +331,10 @@ DEFTREECODE (VAR_DECL, "var_decl", 'd', 0) DEFTREECODE (PARM_DECL, "parm_decl", 'd', 0) DEFTREECODE (RESULT_DECL, "result_decl", 'd', 0) DEFTREECODE (FIELD_DECL, "field_decl", 'd', 0) + +/* A namespace declaration. Namespaces appear in DECL_CONTEXT of other + _DECLs, providing a hierarchy of names. */ +DEFTREECODE (NAMESPACE_DECL, "namespace_decl", 'd', 0) /* References to storage. */ |