diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2014-09-06 23:24:32 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2014-09-06 23:24:32 +0000 |
commit | 29fda0e9758370f8c242409db0c06dc1d75972df (patch) | |
tree | e368129d4e2bf92c8c4b368fce8d8c95270115ec /mdoc.c | |
parent | c525d64ed5cfcdc59ac04ab0411b657f2e5e157a (diff) | |
download | mandoc-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.c | 9 |
1 files changed, 0 insertions, 9 deletions
@@ -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; /* |