groff-commit
[Top][All Lists]
Advanced

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

[groff] 05/10: [libgroff]: Fix missing colon in diag messages.


From: G. Branden Robinson
Subject: [groff] 05/10: [libgroff]: Fix missing colon in diag messages.
Date: Wed, 10 Nov 2021 09:23:43 -0500 (EST)

gbranden pushed a commit to branch master
in repository groff.

commit eb118a6a535b5ac4ba9d6f3d28f29bea084d1970
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Wed Nov 10 04:21:31 2021 +1100

    [libgroff]: Fix missing colon in diag messages.
    
    * src/libs/libgroff/error.cpp (do_error_with_file_and_line): Restore
      missing colon to diagnostic text.  Problem introduced by me in commit
      9a038161, 8 November.
---
 ChangeLog                   | 8 ++++++++
 src/libs/libgroff/error.cpp | 1 +
 2 files changed, 9 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index c7c0592..0caf586 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2021-11-10  G. Branden Robinson <g.branden.robinson@gmail.com>
+
+       [libgroff]: Fix missing colon in diagnostic messages.
+
+       * src/libs/libgroff/error.cpp (do_error_with_file_and_line):
+       Restore missing colon to diagnostic text.  Problem introduced by
+       me in commit 9a038161, 8 November.
+
 2021-11-09  G. Branden Robinson <g.branden.robinson@gmail.com>
 
        [libgroff,grops]: Slightly refactor.
diff --git a/src/libs/libgroff/error.cpp b/src/libs/libgroff/error.cpp
index b199072..cceaeef 100644
--- a/src/libs/libgroff/error.cpp
+++ b/src/libs/libgroff/error.cpp
@@ -42,6 +42,7 @@ static void do_error_with_file_and_line(const char *filename,
   bool need_space = false;
   if (program_name) {
     fputs(program_name, stderr);
+    fputc(':', stderr);
     need_space = true;
   }
   if (filename != 0) {



reply via email to

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