summaryrefslogtreecommitdiffstats
path: root/mdoc_argv.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-05-09 10:17:02 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-05-09 10:17:02 +0000
commit5ac97cb3d8b44fcf22555ed7b8303aceb8c4146f (patch)
treefe91b2c1c01a2e1a5c6f9bd53743cdaaac472b9b /mdoc_argv.c
parenteffe920baea8cc9b69fb590ef1e1322b390439a6 (diff)
downloadmandoc-5ac97cb3d8b44fcf22555ed7b8303aceb8c4146f.tar.gz
Introduce ARGS_PEND for `It -column' end-of-line special casing.
Initial rules for insane `It -column' tabsep handling.
Diffstat (limited to 'mdoc_argv.c')
-rw-r--r--mdoc_argv.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/mdoc_argv.c b/mdoc_argv.c
index 40237f20..41d7300b 100644
--- a/mdoc_argv.c
+++ b/mdoc_argv.c
@@ -471,8 +471,10 @@ args(struct mdoc *m, int line, int *pos,
} else if (pp && ! p) {
p = pp;
*pos += 2;
- } else
+ } else {
+ rc = ARGS_PEND;
p = strchr(*v, 0);
+ }
/* Whitespace check for eoln case... */
if (0 == *p && ' ' == *(p - 1) && ! (ARGS_NOWARN & fl))