Commit db2e669b by Richard Stallman

(define_label): Use current line number in error msg.

From-SVN: r3701
parent 88ece8db
......@@ -2352,7 +2352,7 @@ define_label (filename, line, name)
if (DECL_INITIAL (decl) != 0)
{
error_with_decl (decl, "duplicate label `%s'");
error ("duplicate label `%s'", IDENTIFIER_POINTER (name));
return 0;
}
else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment