decl.c (start_decl): Exit if push_template_decl returns error_mark_node.

* decl.c (start_decl): Exit if push_template_decl returns
	error_mark_node.

From-SVN: r72760
This commit is contained in:
Kriang Lerdsuwanakij 2003-10-21 17:05:47 +00:00 committed by Kriang Lerdsuwanakij
parent bce988a2f5
commit 156fc2bbdc
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2003-10-22 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
* decl.c (start_decl): Exit if push_template_decl returns
error_mark_node.
2003-10-20 Kazu Hirata <kazu@cs.umass.edu>
* ChangeLog: Fix typos.

View File

@ -3788,6 +3788,8 @@ start_decl (tree declarator,
if (processing_template_decl)
tem = push_template_decl (tem);
if (tem == error_mark_node)
return error_mark_node;
#if ! defined (ASM_OUTPUT_BSS) && ! defined (ASM_OUTPUT_ALIGNED_BSS)
/* Tell the back-end to use or not use .common as appropriate. If we say