error.c (dump_type_real): Handle NAMESPACE_DECL.
authorJason Merrill <jason@gcc.gnu.org>
Wed, 9 Sep 1998 00:52:50 +0000 (20:52 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 9 Sep 1998 00:52:50 +0000 (20:52 -0400)
commit009425e185c045c143997bbb3030644b834475a2
tree4dbdb194f8994b40fedf312d68687b04845003fe
parent1ba15a03c76013936005a055342d0fdca97058b7
error.c (dump_type_real): Handle NAMESPACE_DECL.

* error.c (dump_type_real): Handle NAMESPACE_DECL.
* parse.y (base_class.1): Avoid crash on error.
* decl.c (make_typename_type): If context is a namespace, the code
is in error.

From-SVN: r22342
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/cp/error.c
gcc/cp/parse.c
gcc/cp/parse.y