diff options
Diffstat (limited to 'contrib/mandoc/manpath.c')
-rw-r--r-- | contrib/mandoc/manpath.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/contrib/mandoc/manpath.c b/contrib/mandoc/manpath.c index 3760e2293c3a..f744368b5a38 100644 --- a/contrib/mandoc/manpath.c +++ b/contrib/mandoc/manpath.c @@ -1,6 +1,6 @@ -/* $Id: manpath.c,v 1.44 2021/11/05 18:03:08 schwarze Exp $ */ +/* $Id: manpath.c,v 1.45 2025/06/26 17:26:23 schwarze Exp $ */ /* - * Copyright (c) 2011,2014,2015,2017-2019 Ingo Schwarze <schwarze@openbsd.org> + * Copyright (c) 2011,2014,2015,2017-2021 Ingo Schwarze <schwarze@openbsd.org> * Copyright (c) 2011 Kristaps Dzonsons <kristaps@bsd.lv> * * Permission to use, copy, modify, and distribute this software for any @@ -218,7 +218,7 @@ manconf_output(struct manoutput *conf, const char *cp, int fromfile) /* Token taking an optional argument. */ "tag", /* Tokens not taking arguments. */ - "fragment", "mdoc", "noval", "toc" + "fragment", "noval", "toc" }; const size_t ntoks = sizeof(toks) / sizeof(toks[0]); @@ -328,12 +328,9 @@ manconf_output(struct manoutput *conf, const char *cp, int fromfile) conf->fragment = 1; return 0; case 10: - conf->mdoc = 1; - return 0; - case 11: conf->noval = 1; return 0; - case 12: + case 11: conf->toc = 1; return 0; default: |