]> git.cameronkatri.com Git - mandoc.git/commit
Move `Mt', `Ar', and `Li' handling from mdoc_action.c into mdoc_validate.c.
authorKristaps Dzonsons <kristaps@bsd.lv>
Mon, 29 Nov 2010 13:02:47 +0000 (13:02 +0000)
committerKristaps Dzonsons <kristaps@bsd.lv>
Mon, 29 Nov 2010 13:02:47 +0000 (13:02 +0000)
commita974d4be58d9f1f741b4e1b5e0b69934a2eeacec
tree9781e2a3539eda2cf81676bf78c987a6491672ef
parent3242f86b1e29a933cc8ab3bd8022d2296d5c5d9b
Move `Mt', `Ar', and `Li' handling from mdoc_action.c into mdoc_validate.c.

Clarify that `Mt' gets a default `~' (as per groff 1.20) and document it
in mdoc.7.

Made `Lk' be removed in mdoc_macro.c if it has no arguments.  This fixes
segfaults in mdoc_{term,html}.c that nobody's managed to raise yet.
mdoc.7
mdoc_action.c
mdoc_html.c
mdoc_macro.c
mdoc_term.c
mdoc_validate.c