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 | b67525a057c9c91c4cc26ca56530c3157be99b03 (patch) | |
tree | 5f6047973c08ada63bb2f7f135269e4aed5cb5c6 | |
parent | f514b64edd2431e2accb9fd52736b10c0c718f6c (diff) | |
download | mandoc-b67525a057c9c91c4cc26ca56530c3157be99b03.tar.gz |
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 | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mdoc_argv.c b/mdoc_argv.c index 664e1840..f914118a 100644 --- a/mdoc_argv.c +++ b/mdoc_argv.c @@ -1,6 +1,7 @@ /* $Id$ */ /* * 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 */ |