diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2015-02-17 17:16:52 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2015-02-17 17:16:52 +0000 |
commit | 104c829123990f31b11953103544d94926d8efd0 (patch) | |
tree | 37c08d82b9100faa165881938d860c91a74b562a /mdoc_term.c | |
parent | 2c7fbaa0ae224250216f3238dfeaee7aec260283 (diff) | |
download | mandoc-104c829123990f31b11953103544d94926d8efd0.tar.gz mandoc-104c829123990f31b11953103544d94926d8efd0.tar.zst mandoc-104c829123990f31b11953103544d94926d8efd0.zip |
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 'mdoc_term.c')
0 files changed, 0 insertions, 0 deletions