diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2012-11-16 18:41:18 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2012-11-16 18:41:18 +0000 |
commit | 2e6b13062386940c237ae6e48fa267f11d6ca3b0 (patch) | |
tree | b6df5b481a5d8a457f1ad49eebdb089df26ea398 | |
parent | ccb2b6c5e221f64660f6481251aaaf2dbd12679a (diff) | |
download | mandoc-2e6b13062386940c237ae6e48fa267f11d6ca3b0.tar.gz mandoc-2e6b13062386940c237ae6e48fa267f11d6ca3b0.tar.zst mandoc-2e6b13062386940c237ae6e48fa267f11d6ca3b0.zip |
Two more macros (.Ap and .In) do trailing delimiter handling.
This fixes the end of sentence spacing in OpenBSD open(2)
and in about 150 pages in the NetBSD base system.
Reported by Nicolas Joly <njoly a pasteur point fr>, merci!
-rw-r--r-- | mdoc_argv.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/mdoc_argv.c b/mdoc_argv.c index 6e1ca5ce..57b94f32 100644 --- a/mdoc_argv.c +++ b/mdoc_argv.c @@ -1,6 +1,7 @@ -/* $Id: mdoc_argv.c,v 1.83 2012/04/15 15:26:49 schwarze Exp $ */ +/* $Id: mdoc_argv.c,v 1.84 2012/11/16 18:41:18 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> + * Copyright (c) 2012 Ingo Schwarze <schwarze@openbsd.org> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -143,7 +144,7 @@ static const enum mdocargt args_Bl[] = { }; static const struct mdocarg mdocargs[MDOC_MAX] = { - { ARGSFL_NONE, NULL }, /* Ap */ + { ARGSFL_DELIM, NULL }, /* Ap */ { ARGSFL_NONE, NULL }, /* Dd */ { ARGSFL_NONE, NULL }, /* Dt */ { ARGSFL_NONE, NULL }, /* Os */ @@ -172,7 +173,7 @@ static const struct mdocarg mdocargs[MDOC_MAX] = { { ARGSFL_DELIM, NULL }, /* Fn */ { ARGSFL_DELIM, NULL }, /* Ft */ { ARGSFL_DELIM, NULL }, /* Ic */ - { ARGSFL_NONE, NULL }, /* In */ + { ARGSFL_DELIM, NULL }, /* In */ { ARGSFL_DELIM, NULL }, /* Li */ { ARGSFL_NONE, NULL }, /* Nd */ { ARGSFL_DELIM, NULL }, /* Nm */ |