From 2745b3f22e169e51509c6a77a688756f59a2b2b9 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Sat, 6 Sep 2014 23:24:32 +0000 Subject: 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. --- man.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'man.c') 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 * Copyright (c) 2013, 2014 Ingo Schwarze @@ -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; /* -- cgit v1.2.3