entered into RCS
From-SVN: r1159
This commit is contained in:
parent
37ce5b86d7
commit
e38e5ba82f
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user