From ac714e0488d7c68718c62be1daa50511092a070d Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Fri, 5 May 2017 15:17:32 +0000 Subject: Move .sp to the roff modules. Enough infrastructure is in place now that this actually saves code: -70 LOC. --- man_macro.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'man_macro.c') diff --git a/man_macro.c b/man_macro.c index 84e2b9c9..22b2597d 100644 --- a/man_macro.c +++ b/man_macro.c @@ -1,4 +1,4 @@ -/* $Id: man_macro.c,v 1.119 2017/05/05 13:17:54 schwarze Exp $ */ +/* $Id: man_macro.c,v 1.120 2017/05/05 15:17:32 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons * Copyright (c) 2012-2015, 2017 Ingo Schwarze @@ -61,7 +61,6 @@ const struct man_macro __man_macros[MAN_MAX - MAN_TH] = { { in_line_eoln, MAN_SCOPED | MAN_JOIN }, /* I */ { in_line_eoln, 0 }, /* IR */ { in_line_eoln, 0 }, /* RI */ - { in_line_eoln, MAN_NSCOPED }, /* sp */ { in_line_eoln, MAN_NSCOPED }, /* nf */ { in_line_eoln, MAN_NSCOPED }, /* fi */ { blk_close, MAN_BSCOPE }, /* RE */ @@ -331,8 +330,7 @@ in_line_eoln(MACRO_PROT_ARGS) roff_name[tok], buf + *pos); break; } - if (buf[*pos] != '\0' && man->last != n && - (tok == MAN_PD || tok == MAN_sp)) { + if (buf[*pos] != '\0' && man->last != n && tok == MAN_PD) { mandoc_vmsg(MANDOCERR_ARG_EXCESS, man->parse, line, *pos, "%s ... %s", roff_name[tok], buf + *pos); -- cgit v1.2.3-56-ge451