bug-texinfo
[Top][All Lists]
Advanced

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

[bug #33243] Patch to makeinfo error display


From: Adriaan van Os
Subject: [bug #33243] Patch to makeinfo error display
Date: Fri, 06 May 2011 10:39:26 +0000
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_7; en-us) AppleWebKit/533.20.25 (KHTML, like Gecko) Version/5.0.4 Safari/533.20.27

URL:
  <http://savannah.gnu.org/bugs/?33243>

                 Summary: Patch to makeinfo error display
                 Project: texinfo - GNU documentation system
            Submitted by: microbizz
            Submitted on: Fri 06 May 2011 10:39:25 AM GMT
                Category: makeinfo
                 Release: 4.13
                Priority: 5 - Normal
                Severity: 3 - Normal
              Item Group: bug
                 Privacy: Public
             Open/Closed: Open
             Assigned to: None
         Discussion Lock: Any
                  Status: None

    _______________________________________________________

Details:

Some IDE's don't recognize makeinfo error display. This is fixed by adding
"error: " to error display, as follows:

--- makeinfo/makeinfo-orig.c    2008-09-18 20:32:00.000000000 +0200
+++ makeinfo/makeinfo.c 2011-05-06 12:12:59.000000000 +0200
@@ -246,7 +246,7 @@
 #endif
 
   remember_error ();
-  fprintf (stderr, "%s:%d: ", infile, lno);
+  fprintf (stderr, ""%s:%d: error: " ", infile, lno);
 
   VA_START (ap, format);
 #ifdef VA_FPRINTF
@@ -275,7 +275,7 @@
 #endif
 
   remember_error ();
-  fprintf (stderr, "%s:%d: ", input_filename, line_number);
+  fprintf (stderr, "%s:%d: error: ", input_filename, line_number);
 
   VA_START (ap, format);
 #ifdef VA_FPRINTF





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?33243>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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