aboutsummaryrefslogtreecommitdiffstatshomepage
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
commit2745b3f22e169e51509c6a77a688756f59a2b2b9 (patch)
tree23a8d2cac4465ef19f4105efe1a1fbe84a9ffd9d /man.c
parent1e75b893a49c0cbdd978438e15c5a8fa8aebb510 (diff)
downloadmandoc-2745b3f22e169e51509c6a77a688756f59a2b2b9.tar.gz
mandoc-2745b3f22e169e51509c6a77a688756f59a2b2b9.tar.zst
mandoc-2745b3f22e169e51509c6a77a688756f59a2b2b9.zip
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.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/man.c b/man.c
index d5160212..ef6a2c35 100644
--- a/man.c
+++ b/man.c
@@ -1,4 +1,4 @@
-/* $Id: man.c,v 1.138 2014/08/10 23:54:41 schwarze Exp $ */
+/* $Id: man.c,v 1.139 2014/09/06 23:24:32 schwarze Exp $ */
/*
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2013, 2014 Ingo Schwarze <schwarze@openbsd.org>
@@ -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;
/*