Fri 06 May 2011 10:12:14 PM UTC, comment #1:
Thanks for the suggestion, but I'm not going to uglify messages for the sake of unspecified "IDE"s (which should be smart enough to recognize error messages, anyway). The GNU coding standards say nothing about requiring the word "error:".
Best,
Karl
|
Fri 06 May 2011 10:39:25 AM UTC, original submission:
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
|