CVSROOT: /cvs Module name: src Changes by: schwa...@cvs.openbsd.org 2015/02/17 10:16:12
Modified files: share/man/man7 : roff.7 usr.bin/mandoc : roff.c regress/usr.bin/mandoc/roff/cond: numeric.in numeric.out_ascii regress/usr.bin/mandoc/roff/it: text.in text.out_ascii Log message: 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.