version 1.35, 2017/07/01 09:47:30 |
version 1.36, 2018/10/02 14:56:47 |
|
|
/* $Id$ */ |
/* $Id$ */ |
/* |
/* |
* Copyright (c) 2011, 2014, 2015, 2017 Ingo Schwarze <schwarze@openbsd.org> |
* Copyright (c) 2011,2014,2015,2017,2018 Ingo Schwarze <schwarze@openbsd.org> |
* Copyright (c) 2011 Kristaps Dzonsons <kristaps@bsd.lv> |
* Copyright (c) 2011 Kristaps Dzonsons <kristaps@bsd.lv> |
* |
* |
* Permission to use, copy, modify, and distribute this software for any |
* Permission to use, copy, modify, and distribute this software for any |
Line 233 manconf_output(struct manoutput *conf, const char *cp, |
|
Line 233 manconf_output(struct manoutput *conf, const char *cp, |
|
{ |
{ |
const char *const toks[] = { |
const char *const toks[] = { |
"includes", "man", "paper", "style", |
"includes", "man", "paper", "style", |
"indent", "width", "fragment", "mdoc", "noval" |
"indent", "width", "fragment", "mdoc", "noval", "toc" |
}; |
}; |
|
|
const char *errstr; |
const char *errstr; |
Line 319 manconf_output(struct manoutput *conf, const char *cp, |
|
Line 319 manconf_output(struct manoutput *conf, const char *cp, |
|
return 0; |
return 0; |
case 8: |
case 8: |
conf->noval = 1; |
conf->noval = 1; |
|
return 0; |
|
case 9: |
|
conf->toc = 1; |
return 0; |
return 0; |
default: |
default: |
if (fromfile) |
if (fromfile) |