diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-08-20 08:59:12 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-08-20 08:59:12 +0000 |
commit | f24d1eb949107ccd1cf44312815cdf8e34915d21 (patch) | |
tree | e1ecb3b3440d1149adc6a15db0e70e3cac458c9c /mdoc_macro.c | |
parent | 02f0d5e5ebc3cf8a76fdff04f091fdf0e32ec7ec (diff) | |
download | mandoc-f24d1eb949107ccd1cf44312815cdf8e34915d21.tar.gz mandoc-f24d1eb949107ccd1cf44312815cdf8e34915d21.tar.zst mandoc-f24d1eb949107ccd1cf44312815cdf8e34915d21.zip |
Delimiter whitespace is correctly flagged (required some special handling).
Diffstat (limited to 'mdoc_macro.c')
-rw-r--r-- | mdoc_macro.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mdoc_macro.c b/mdoc_macro.c index e6daa86b..a0d739c7 100644 --- a/mdoc_macro.c +++ b/mdoc_macro.c @@ -1,4 +1,4 @@ -/* $Id: mdoc_macro.c,v 1.32 2009/08/19 14:09:33 kristaps Exp $ */ +/* $Id: mdoc_macro.c,v 1.33 2009/08/20 08:59:12 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se> * @@ -600,7 +600,7 @@ append_delims(struct mdoc *mdoc, int line, int *pos, char *buf) for (;;) { lastarg = *pos; - c = mdoc_args(mdoc, line, pos, buf, 0, &p); + c = mdoc_zargs(mdoc, line, pos, buf, ARGS_NOWARN, &p); assert(ARGS_PHRASE != c); if (ARGS_ERROR == c) @@ -1326,7 +1326,7 @@ phrase(struct mdoc *m, int line, int ppos, char *buf) la = pos; /* Note: no calling context! */ - w = mdoc_zargs(m, line, &pos, buf, &p); + w = mdoc_zargs(m, line, &pos, buf, 0, &p); if (ARGS_ERROR == w) return(0); |