gbranden pushed a commit to branch master
in repository groff.
commit eb118a6a535b5ac4ba9d6f3d28f29bea084d1970
Author: G. Branden Robinson <[email protected]>
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 <[email protected]>
+
+ [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 <[email protected]>
[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) {
_______________________________________________
Groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit