summaryrefslogtreecommitdiffstats
path: root/mandocdb.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2015-02-17 17:16:52 +0000
committerIngo Schwarze <schwarze@openbsd.org>2015-02-17 17:16:52 +0000
commit470431727a7ba5fde764e27df2eb620a81285593 (patch)
treebc25db5aea690976fe84d988e03ed16fe14b41ba /mandocdb.c
parentd051fb46374527510c8eca76499a77e487090a22 (diff)
downloadmandoc-470431727a7ba5fde764e27df2eb620a81285593.tar.gz
Let .it accept numerical expressions, not just numerical constants.
For .it, ignore scaling units in roff_getnum(). Inside parentheses, skip whitespace after a sign in roff_getnum(). Parse and ignore unary plus in roff_getnum(). As a bonus, get rid of the only call to mandoc_strntoi() in roff.c.
Diffstat (limited to 'mandocdb.c')
0 files changed, 0 insertions, 0 deletions