summaryrefslogtreecommitdiffstats
path: root/man.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-09-06 23:24:32 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-09-06 23:24:32 +0000
commit29fda0e9758370f8c242409db0c06dc1d75972df (patch)
treee368129d4e2bf92c8c4b368fce8d8c95270115ec /man.c
parentc525d64ed5cfcdc59ac04ab0411b657f2e5e157a (diff)
downloadmandoc-29fda0e9758370f8c242409db0c06dc1d75972df.tar.gz
Simplify by handling empty request lines at the one logical place
in the roff parser instead of in three other places in other parsers. No functional change.
Diffstat (limited to 'man.c')
-rw-r--r--man.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/man.c b/man.c
index 89da5cb5..a233f01e 100644
--- a/man.c
+++ b/man.c
@@ -471,13 +471,6 @@ man_pmacro(struct man *man, int ln, char *buf, int offs)
int i, ppos;
int bline;
- if ('"' == buf[offs]) {
- mandoc_msg(MANDOCERR_COMMENT_BAD, man->parse,
- ln, offs, NULL);
- return(1);
- } else if ('\0' == buf[offs])
- return(1);
-
ppos = offs;
/*