summaryrefslogtreecommitdiffstats
path: root/mdoc.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 /mdoc.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 'mdoc.c')
-rw-r--r--mdoc.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/mdoc.c b/mdoc.c
index ede6256b..4d4f504e 100644
--- a/mdoc.c
+++ b/mdoc.c
@@ -793,15 +793,6 @@ mdoc_pmacro(struct mdoc *mdoc, int ln, char *buf, int offs)
char mac[5];
struct mdoc_node *n;
- /* Empty post-control lines are ignored. */
-
- if ('"' == buf[offs]) {
- mandoc_msg(MANDOCERR_COMMENT_BAD, mdoc->parse,
- ln, offs, NULL);
- return(1);
- } else if ('\0' == buf[offs])
- return(1);
-
sv = offs;
/*