From 9cec32b191bc0a490e538c0974b0b1aaf7d747a7 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Sat, 15 May 2010 22:44:04 +0000 Subject: Remove `am', `ami', `de', `dei', and `.' from -man, as they're now in the roff preprocessor. --- man.c | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'man.c') diff --git a/man.c b/man.c index 1bfbbe16..07b02369 100644 --- a/man.c +++ b/man.c @@ -1,4 +1,4 @@ -/* $Id: man.c,v 1.69 2010/05/15 20:51:40 kristaps Exp $ */ +/* $Id: man.c,v 1.70 2010/05/15 22:44:04 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons * @@ -49,8 +49,6 @@ const char *const __man_merrnames[WERRMAX] = { "no scope context", /* WNOSCOPE */ "literal context already open", /* WOLITERAL */ "no literal context open", /* WNLITERAL */ - "invalid nesting of roff declarations", /* WROFFNEST */ - "scope in roff instructions broken", /* WROFFSCOPE */ "document title should be uppercase", /* WTITLECASE */ "deprecated comment style", /* WBADCOMMENT */ }; @@ -64,8 +62,7 @@ const char *const __man_macronames[MAN_MAX] = { "RI", "na", "i", "sp", "nf", "fi", "r", "RE", "RS", "DT", "UC", "PD", - "Sp", "Vb", "Ve", "de", - "dei", "am", "ami", ".", + "Sp", "Vb", "Ve", }; const char * const *man_macronames = __man_macronames; @@ -548,9 +545,6 @@ man_pmacro(struct man *m, int ln, char *buf) * Remove prior ELINE macro, as it's being clobbering by a new * macro. Note that NSCOPED macros do not close out ELINE * macros---they don't print text---so we let those slip by. - * NOTE: we don't allow roff blocks (NOCLOSE) to be embedded - * here because that would stipulate blocks as children of - * elements! */ if ( ! (MAN_NSCOPED & man_macros[tok].flags) && -- cgit v1.2.3