gbranden pushed a commit to branch master
in repository groff.
commit a37ae4b75406567a30b11dc699d35c1a7684aa9a
Author: G. Branden Robinson <[email protected]>
AuthorDate: Thu Jul 25 15:48:17 2024 -0500
[troff]: Fix missing space in diagnostic message.
* src/roff/troff/number.cpp (is_valid_expression_start): Do it.
---
ChangeLog | 5 +++++
src/roff/troff/number.cpp | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index 731f6b00e..064d965f1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2024-07-25 G. Branden Robinson <[email protected]>
+
+ * src/roff/troff/number.cpp (is_valid_expression_start): Fix
+ missing space in diagnostic message.
+
2024-07-25 G. Branden Robinson <[email protected]>
* src/roff/troff/number.cpp (vunits::vunits, hunits::hunits):
diff --git a/src/roff/troff/number.cpp b/src/roff/troff/number.cpp
index 0d91cfe96..da61b1a92 100644
--- a/src/roff/troff/number.cpp
+++ b/src/roff/troff/number.cpp
@@ -252,7 +252,7 @@ static bool is_valid_expression_start()
}
if (tok.is_right_brace()) {
warning(WARN_RIGHT_BRACE, "expected numeric expression, got right"
- "brace escape sequence");
+ " brace escape sequence");
return false;
}
return true;
_______________________________________________
Groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit