Up to [cvsweb.bsd.lv] / mandoc
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: HEAD
Revision 1.81 / (download) - annotate - [select for diffs], Sun Jan 5 16:58:22 2025 UTC (6 months ago) by schwarze
Branch: MAIN
CVS Tags: HEAD
Changes since 1.80: +2 -1 lines
Diff to previous 1.80 (unified)
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.