Here's the patch. It demotes an error diagnostic to a warning.
diff --git a/src/roff/troff/number.cpp b/src/roff/troff/number.cpp
index 0cc58dbc9..e650c4bdb 100644
--- a/src/roff/troff/number.cpp
+++ b/src/roff/troff/number.cpp
@@ -380,6 +380,11 @@ static bool is_valid_term(units *u, int scaling_unit,
tok.next();
is_negative = !is_negative;
}
+ else if (tok.is_tab()) {
+ warning(WARN_TAB, "ignoring numeric expression starting with %1",
+ tok.description());
+ return false;
+ }
else
break;
int c = tok.ch(); // safely compares to char literals; TODO: grocharRationale, background: https://savannah.gnu.org/bugs/?68017 Regards, Branden
signature.asc
Description: PGP signature
