CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2025/01/05 09:56:48
Modified files:
usr.bin/mandoc : libmandoc.h roff.c
Log message:
Add an additional argument to the functions implementing the roff(7)
numerical parser to select the default scaling unit for numbers not
followed by a scaling unit, rather than always using basic units ('u').
Expose roff_evalnum() via the internal parser API such that, in addition
to the roff(7) parser, other parsers become able to parse numerical
expressions, too.
This commit implies no functional change yet,
but prepares for adding new functionality in future commits.