parse.y (template_id): do_identifier for PFUNCNAMEs, too.
authorJason Merrill <jason@yorick.cygnus.com>
Sat, 6 Dec 1997 03:43:05 +0000 (03:43 +0000)
committerJason Merrill <jason@gcc.gnu.org>
Sat, 6 Dec 1997 03:43:05 +0000 (22:43 -0500)
commit7211716df46060793d33a8ec61a5b952007f68e7
tree7fad100495e9ee3f1ce7d71210ceb98994f696f0
parentf2d765451e5dee21174c6ca6d4174866dbe24e00
parse.y (template_id): do_identifier for PFUNCNAMEs, too.

* parse.y (template_id): do_identifier for PFUNCNAMEs, too.
* spew.c (yylex): Don't do_identifier here.
* decl2.c (build_expr_from_tree): Revert last change.

* decl2.c (build_expr_from_tree): Expand the name for a method call.
* parse.y (object_template_id): Don't try to take the DECL_NAME.

From-SVN: r16971
gcc/cp/ChangeLog
gcc/cp/parse.y
gcc/cp/spew.c