diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2014-07-05 12:33:55 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2014-07-05 12:33:55 +0000 |
commit | 5204d1c426410b5a281d0a6a71a408443dcf3104 (patch) | |
tree | 1a2a0ec6c3374f48a83c1da76389ff56cfc01f13 /regress/usr.bin/mandoc/roff/ft/badargs.in | |
parent | 63a49d95dee5aca10ce31cdba05ba850ef747c93 (diff) |
Cleanup with respect to bad macro arguments.
* Fix .Sm with invalid arg: move arg out and toggle mode.
* Promote "unknown standard" from WARNING to ERROR, it loses information.
* Delete MANDOCERR_BADWIDTH, it would only indicate a mandoc(1) bug.
* Do not report MANDOCERR_BL_LATETYPE when there is no type at all.
* Mention macro names, arguments and fallbacks.
Diffstat (limited to 'regress/usr.bin/mandoc/roff/ft/badargs.in')
-rw-r--r-- | regress/usr.bin/mandoc/roff/ft/badargs.in | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/regress/usr.bin/mandoc/roff/ft/badargs.in b/regress/usr.bin/mandoc/roff/ft/badargs.in new file mode 100644 index 00000000000..a42557d418c --- /dev/null +++ b/regress/usr.bin/mandoc/roff/ft/badargs.in @@ -0,0 +1,15 @@ +.TH "FT-BADARGS" 1 "July 5, 2014" OpenBSD +.SH NAME +ft-badargs \(en font request with bad arguments +.SH DESCRIPTION +default font +.ft B +bold +.ft foo +still bold +.ft I +italic +.ft P +back to bold +.ft +back to italic |