diff options
author | 2017-05-05 13:17:04 +0000 | |
---|---|---|
committer | 2017-05-05 13:17:04 +0000 | |
commit | 644b390b9489f095c08e2ee294f32b9461273182 (patch) | |
tree | 442fd84036dfe2370262754055d6d084379a1adc /usr.bin/mandoc/mdoc_macro.c | |
parent | Remove /* FALLTHROUGH */ that isn't (and shouldn't). (diff) | |
download | wireguard-openbsd-644b390b9489f095c08e2ee294f32b9461273182.tar.xz wireguard-openbsd-644b390b9489f095c08e2ee294f32b9461273182.zip |
move .ll to the roff modules
Diffstat (limited to 'usr.bin/mandoc/mdoc_macro.c')
-rw-r--r-- | usr.bin/mandoc/mdoc_macro.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.bin/mandoc/mdoc_macro.c b/usr.bin/mandoc/mdoc_macro.c index c3ee37d4d2c..9dfd8799eca 100644 --- a/usr.bin/mandoc/mdoc_macro.c +++ b/usr.bin/mandoc/mdoc_macro.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mdoc_macro.c,v 1.178 2017/05/04 17:48:24 schwarze Exp $ */ +/* $OpenBSD: mdoc_macro.c,v 1.179 2017/05/05 13:17:04 schwarze Exp $ */ /* * Copyright (c) 2008-2012 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2010, 2012-2017 Ingo Schwarze <schwarze@openbsd.org> @@ -198,7 +198,6 @@ const struct mdoc_macro __mdoc_macros[MDOC_MAX - MDOC_Dd] = { { in_line_eoln, 0 }, /* sp */ { in_line_eoln, 0 }, /* %U */ { phrase_ta, MDOC_CALLABLE | MDOC_PARSED | MDOC_JOIN }, /* Ta */ - { in_line_eoln, MDOC_PROLOGUE }, /* ll */ }; const struct mdoc_macro *const mdoc_macros = __mdoc_macros - MDOC_Dd; @@ -248,7 +247,7 @@ lookup(struct roff_man *mdoc, int from, int line, int ppos, const char *p) if (res != TOKEN_NONE) { if (mdoc_macros[res].flags & MDOC_CALLABLE) return res; - if (res != MDOC_sp && res != MDOC_ll) + if (res != MDOC_sp) mandoc_msg(MANDOCERR_MACRO_CALL, mdoc->parse, line, ppos, p); } |