bug-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: included file names in error msgs


From: Eli Zaretskii
Subject: Re: included file names in error msgs
Date: Wed, 15 Aug 2001 16:06:16 +0300

> From: Akim Demaille <address@hidden>
> Date: 15 Aug 2001 14:29:20 +0200
> 
> src/ace/doc % LANGUAGE=C make                                    nostromo Err 
> 2
> cd . \
>   && /bin/sh /home/lrde/prof/akim/src/ace/config/missing --run makeinfo 
> --no-split `echo autoconf.texi | sed 's,.*/,,'`
> autoconf.texi:11755: Node `Environment Variables' previously defined at line 
> 201.
> 
> actually it is defined in install.texi:201, not autoconf.texi as the
> msg seem to say.  How about mocking gcc?

Is this good enough?

2001-08-15  Eli Zaretskii  <address@hidden>

        * makeinfo/node.c (remember_node): Print the file name where a
        node was previously defined as part of the error message.
        Suggested by Akim Demaille <address@hidden>.

--- makeinfo/node.c~0   Sat Oct 16 15:16:28 1999
+++ makeinfo/node.c     Wed Aug 15 16:04:28 2001
@@ -247,8 +247,8 @@ remember_node (node, prev, next, up, pos
       TAG_ENTRY *tag = find_node (node);
       if (tag)
         {
-          line_error (_("Node `%s' previously defined at line %d"),
-                      node, tag->line_no);
+          line_error (_("Node `%s' previously defined at line %d of file %s"),
+                      node, tag->line_no, tag->filename);
           return;
         }
     }



reply via email to

[Prev in Thread] Current Thread [Next in Thread]