summaryrefslogtreecommitdiffstatshomepage
path: root/man.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-05-15 22:44:04 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-05-15 22:44:04 +0000
commit9cec32b191bc0a490e538c0974b0b1aaf7d747a7 (patch)
tree492c0af00f36c3b9455fd0142d7171f5f5629158 /man.c
parent2c217d985cd43cfa1b9b2155e4189511d8f122ae (diff)
downloadmandoc-9cec32b191bc0a490e538c0974b0b1aaf7d747a7.tar.gz
mandoc-9cec32b191bc0a490e538c0974b0b1aaf7d747a7.tar.zst
mandoc-9cec32b191bc0a490e538c0974b0b1aaf7d747a7.zip
Remove `am', `ami', `de', `dei', and `.' from -man, as they're now in the roff preprocessor.
Diffstat (limited to 'man.c')
-rw-r--r--man.c10
1 files changed, 2 insertions, 8 deletions
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 <kristaps@kth.se>
*
@@ -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) &&