diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-11-29 13:02:47 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-11-29 13:02:47 +0000 |
commit | f849b38ca6324f49276e98a1e2cbf8972e4924bc (patch) | |
tree | 79319169d509096033a63e723d505a0eac35998e /mdoc_macro.c | |
parent | e6058a1239e6d451ecf7f4c160eff3e3083b254d (diff) | |
download | mandoc-f849b38ca6324f49276e98a1e2cbf8972e4924bc.tar.gz |
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.
Diffstat (limited to 'mdoc_macro.c')
-rw-r--r-- | mdoc_macro.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mdoc_macro.c b/mdoc_macro.c index 77a13178..34ffd86b 100644 --- a/mdoc_macro.c +++ b/mdoc_macro.c @@ -790,7 +790,7 @@ in_line(MACRO_PROT_ARGS) /* FALLTHROUGH */ case (MDOC_Fl): /* FALLTHROUGH */ - case (MDOC_Lk): + case (MDOC_Mt): /* FALLTHROUGH */ case (MDOC_Nm): /* FALLTHROUGH */ |