diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2015-02-05 01:46:56 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2015-02-05 01:46:56 +0000 |
commit | 902f6a979cb9238ddee3e60feebb858f2c773e7f (patch) | |
tree | 2bfaae099eaf4cc972ec0029c5ffbd9d4e62586f /mdoc_macro.c | |
parent | 4514bbe8133f9b6a03f35d9c4321d64e48e6cf33 (diff) | |
download | mandoc-902f6a979cb9238ddee3e60feebb858f2c773e7f.tar.gz |
fix handling of empty .An macros
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 00bd7fa7..78a8e5e6 100644 --- a/mdoc_macro.c +++ b/mdoc_macro.c @@ -772,7 +772,7 @@ in_line(MACRO_PROT_ARGS) */ if (ac == ARGS_PUNCT) { - if (cnt == 0 && nc == 0) + if (cnt == 0 && (nc == 0 || tok == MDOC_An)) mdoc->flags |= MDOC_NODELIMC; break; } |