entered into RCS

From-SVN: r1159
This commit is contained in:
Richard Stallman 1992-06-04 21:30:48 +00:00
parent 37ce5b86d7
commit e38e5ba82f
1 changed files with 3 additions and 3 deletions

View File

@ -4248,14 +4248,14 @@ get_parm_info (void_at_end)
{
tree next = TREE_CHAIN (decl);
if (TREE_ASM_WRITTEN (decl))
if (TREE_CODE (decl) != PARM_DECL)
{
error_with_decl (decl, "parameter `%s' has just a forward declaration");
TREE_CHAIN (decl) = new_parms;
new_parms = decl;
}
if (TREE_CODE (decl) != PARM_DECL)
else if (TREE_ASM_WRITTEN (decl))
{
error_with_decl (decl, "parameter `%s' has just a forward declaration");
TREE_CHAIN (decl) = new_parms;
new_parms = decl;
}