gbranden pushed a commit to branch master
in repository groff.

commit b0663cdfd24116ca45db2ab9e9f029735952078a
Author: G. Branden Robinson <[email protected]>
AuthorDate: Sun Nov 30 16:27:57 2025 -0600

    src/roff/troff/number.cpp: Annotate function call.
---
 src/roff/troff/number.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/roff/troff/number.cpp b/src/roff/troff/number.cpp
index e775a3502..ad5819984 100644
--- a/src/roff/troff/number.cpp
+++ b/src/roff/troff/number.cpp
@@ -103,7 +103,8 @@ bool read_integer(int *res)
   if (!is_valid_expression_start())
     return false;
   units x;
-  if (is_valid_expression(&x, 0, false /* is_parenthesized */)) {
+  if (is_valid_expression(&x, 0 /* dimensionless */,
+                         false /* is_parenthesized */)) {
     *res = x;
     return true;
   }

_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit

Reply via email to