summaryrefslogtreecommitdiffstats
path: root/mdoc_macro.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-08-20 08:59:12 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-08-20 08:59:12 +0000
commit715664aab2d78bfca25251802a317ec3d515ddf3 (patch)
treea31f6a986b9b1346b4afc83b2ce05ed14084c00f /mdoc_macro.c
parent077b83403c555a1a2160ae7dfb7439e5ae84c96d (diff)
downloadmandoc-715664aab2d78bfca25251802a317ec3d515ddf3.tar.gz
Delimiter whitespace is correctly flagged (required some special handling).
Diffstat (limited to 'mdoc_macro.c')
-rw-r--r--mdoc_macro.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mdoc_macro.c b/mdoc_macro.c
index 4941f0c2..e6cf717f 100644
--- a/mdoc_macro.c
+++ b/mdoc_macro.c
@@ -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);