OSDN Git Service

* spew.c (yylex): Also return the TYPE_DECL if got_object.
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 5 Jun 1998 21:57:05 +0000 (21:57 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 5 Jun 1998 21:57:05 +0000 (21:57 +0000)
commit998cbf8e414470365f5d2d7d436aa58fe7a60e9e
tree0d8b3af3ac0f813a34ca81018ae0dc5d23965642
parentcc78d173ed4d012a8b57862c914e7c2f22b82e78
* spew.c (yylex): Also return the TYPE_DECL if got_object.
Don't clear got_object after '~'.
* call.c (build_scoped_method_call): Tweak destructor handling.
(build_method_call): Likewise.
* pt.c (tsubst_copy, case METHOD_CALL_EXPR): Don't mess with
TYPE_MAIN_VARIANT for destructors.
* semantics.c (finish_object_call_expr): Complain about calling a
TYPE_DECL.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20256 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/cp/pt.c
gcc/cp/semantics.c
gcc/cp/spew.c