OSDN Git Service

(define_label): Use current line number in error msg.
authorrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 11 Mar 1993 08:19:03 +0000 (08:19 +0000)
committerrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 11 Mar 1993 08:19:03 +0000 (08:19 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3701 138bc75d-0d04-0410-961f-82ee72b054a4

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