decl.c (grokfndecl): Return NULL_TREE instead of error_mark_node.
authorJason Merrill <jason@yorick.cygnus.com>
Mon, 15 Feb 1999 23:45:02 +0000 (23:45 +0000)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 15 Feb 1999 23:45:02 +0000 (18:45 -0500)
commit20496fa2c8810a2da8d3667e35616999ab6fd8d9
tree23ec512cf391be32febb9e770eaf9081e12d8415
parent0c63f729edf63919459d05a4bdf65b6b30cf0b0f
decl.c (grokfndecl): Return NULL_TREE instead of error_mark_node.

* decl.c (grokfndecl): Return NULL_TREE instead of error_mark_node.
(grokdeclarator): Don't expect error_mark_node from grokfndecl.
* pt.c (maybe_process_partial_specialization): Complain about
'template <>' on non-specialization.

From-SVN: r25225
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/cp/pt.c