some scaling unit fixes:
authorschwarze <schwarze@openbsd.org>
Tue, 23 Dec 2014 09:31:17 +0000 (09:31 +0000)
committerschwarze <schwarze@openbsd.org>
Tue, 23 Dec 2014 09:31:17 +0000 (09:31 +0000)
commit84f230ba6e30895d9c993ecfab5b8fd60dc01934
treecb3c6651b3e65864c78b193243373222a650d9d8
parentef2c09c8cbdcdab41ff1ee1ee710277178099c24
some scaling unit fixes:
- .sp with an invalid argument is .sp 1v, not .sp 0v
- in man(1), trailing garbage doesn't make scaling units invalid
14 files changed:
regress/usr.bin/mandoc/man/PD/args.in
regress/usr.bin/mandoc/man/PD/args.out_ascii
regress/usr.bin/mandoc/roff/scale/horiz.in
regress/usr.bin/mandoc/roff/scale/horiz.out_ascii
regress/usr.bin/mandoc/roff/sp/badargs-man.in
regress/usr.bin/mandoc/roff/sp/badargs-man.out_ascii
regress/usr.bin/mandoc/roff/sp/badargs-mdoc.in
regress/usr.bin/mandoc/roff/sp/badargs-mdoc.out_ascii
usr.bin/mandoc/man_html.c
usr.bin/mandoc/man_term.c
usr.bin/mandoc/mdoc_html.c
usr.bin/mandoc/mdoc_man.c
usr.bin/mandoc/mdoc_term.c
usr.bin/mandoc/out.c