diff options
author | 2017-05-05 15:16:25 +0000 | |
---|---|---|
committer | 2017-05-05 15:16:25 +0000 | |
commit | 6561cb236ca8d6ce04d90c88a7bf8b7d5848f466 (patch) | |
tree | 4ad83851593a955661527309d25c26aabb32d005 /usr.bin/mandoc/man_macro.c | |
parent | Implement two quirks to support the Arasan eMMC 5.1 controller found on (diff) | |
download | wireguard-openbsd-6561cb236ca8d6ce04d90c88a7bf8b7d5848f466.tar.xz wireguard-openbsd-6561cb236ca8d6ce04d90c88a7bf8b7d5848f466.zip |
Move .sp to the roff modules. Enough infrastructure is in place
now that this actually saves code: -70 LOC.
Diffstat (limited to 'usr.bin/mandoc/man_macro.c')
-rw-r--r-- | usr.bin/mandoc/man_macro.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/usr.bin/mandoc/man_macro.c b/usr.bin/mandoc/man_macro.c index a1304c0f373..5ee147afdd3 100644 --- a/usr.bin/mandoc/man_macro.c +++ b/usr.bin/mandoc/man_macro.c @@ -1,4 +1,4 @@ -/* $OpenBSD: man_macro.c,v 1.81 2017/05/05 13:17:04 schwarze Exp $ */ +/* $OpenBSD: man_macro.c,v 1.82 2017/05/05 15:16:25 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2012-2015, 2017 Ingo Schwarze <schwarze@openbsd.org> @@ -59,7 +59,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 */ @@ -329,8 +328,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); |