(define_label): Use current line number in error msg.
authorRichard Stallman <rms@gnu.org>
Thu, 11 Mar 1993 08:19:03 +0000 (08:19 +0000)
committerRichard Stallman <rms@gnu.org>
Thu, 11 Mar 1993 08:19:03 +0000 (08:19 +0000)
From-SVN: r3701

gcc/c-decl.c

index 8e5a599..e9b722d 100644 (file)
@@ -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