gbranden pushed a commit to branch master
in repository groff.
commit 4105b9372e89923a21aa455783347236cca59d77
Author: G. Branden Robinson <[email protected]>
AuthorDate: Sun Apr 12 07:31:07 2026 -0500
src/roff/troff/number.cpp: Drop stale annotation.
---
src/roff/troff/number.cpp | 2 --
1 file changed, 2 deletions(-)
diff --git a/src/roff/troff/number.cpp b/src/roff/troff/number.cpp
index 9a76d5a8e..fda90f4de 100644
--- a/src/roff/troff/number.cpp
+++ b/src/roff/troff/number.cpp
@@ -557,8 +557,6 @@ static bool is_valid_term(units *u,
if (((c = tok.ch()) != 0U) && valid_scaling_units.contains(c)) {
switch (scaling_unit) {
case int(0U): // TODO: grochar; null character, not digit zero
- // We know it's a recognized scaling unit because it matched the
- // `strchr()` above, so we don't use `tok.description()`.
warning(WARN_SCALE, "a scaling unit is not valid in this context"
" (got '%1')", char(c));
break;
_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit