gbranden pushed a commit to branch master
in repository groff.
commit ab0ebc4349e669927b148e254d30e894f324c8fa
Author: G. Branden Robinson <[email protected]>
AuthorDate: Sat Mar 28 20:09:48 2026 -0500
src/roff/troff/input.cpp: Annotate land mine.
---
src/roff/troff/input.cpp | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/roff/troff/input.cpp b/src/roff/troff/input.cpp
index 5b43be739..391ad4152 100644
--- a/src/roff/troff/input.cpp
+++ b/src/roff/troff/input.cpp
@@ -6095,6 +6095,11 @@ static bool read_delimited_measurement(units *n,
// TODO: Merge into other `read_delimited_measurement()`, using default
// argument of 0 for `prev_value`.
+// XXX: Careful, though. Doing this in the most obvious way fails no
+// test cases but results in drawing position miscomputations affecting
+// the configuration parameter tables in the text rendering of
+// doc/ms.ms. Root-cause that and write an `assert()` and/or regression
+// test for it.
static bool read_delimited_measurement(units *n, unsigned char si)
{
token start_token;
_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit