(define_label): Use current line number in error msg.
From-SVN: r3701
This commit is contained in:
parent
88ece8db61
commit
db2e669b70
|
@ -2352,7 +2352,7 @@ define_label (filename, line, name)
|
||||||
|
|
||||||
if (DECL_INITIAL (decl) != 0)
|
if (DECL_INITIAL (decl) != 0)
|
||||||
{
|
{
|
||||||
error_with_decl (decl, "duplicate label `%s'");
|
error ("duplicate label `%s'", IDENTIFIER_POINTER (name));
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue