summaryrefslogtreecommitdiffstats
path: root/mdoc_argv.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-05-15 04:47:38 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-05-15 04:47:38 +0000
commit9910c76a0f15d7eed9a557972be5115b17ceacc2 (patch)
tree09a25748c49e5fda9b4cb748ca6dbb668f699367 /mdoc_argv.c
parent5fa55a22ad502f15707541af5206ee738f97227c (diff)
downloadmandoc-9910c76a0f15d7eed9a557972be5115b17ceacc2.tar.gz
More `Bl -column' dancing: It children also inherit in-phrase flags (noted by Ingo Schwarze).
Diffstat (limited to 'mdoc_argv.c')
-rw-r--r--mdoc_argv.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mdoc_argv.c b/mdoc_argv.c
index c9e2170b..95c92e3e 100644
--- a/mdoc_argv.c
+++ b/mdoc_argv.c
@@ -399,7 +399,7 @@ args(struct mdoc *m, int line, int *pos,
assert(' ' != buf[*pos]);
if ('\0' == buf[*pos]) {
- if (ARGS_PPHRASED & fl)
+ if (MDOC_PPHRASE & m->flags)
return(ARGS_EOLN);
/*
* If we're not in a partial phrase and the flag for
@@ -525,7 +525,7 @@ args(struct mdoc *m, int line, int *pos,
if ( ! (MDOC_PHRASELIT & m->flags))
*v = &buf[++(*pos)];
- if (ARGS_PPHRASED & fl)
+ if (MDOC_PPHRASE & m->flags)
m->flags |= MDOC_PHRASELIT;
for ( ; buf[*pos]; (*pos)++) {
@@ -537,7 +537,7 @@ args(struct mdoc *m, int line, int *pos,
}
if ('\0' == buf[*pos]) {
- if (ARGS_NOWARN & fl || ARGS_PPHRASED & fl)
+ if (ARGS_NOWARN & fl || MDOC_PPHRASE & m->flags)
return(ARGS_QWORD);
if ( ! mdoc_pwarn(m, line, *pos, EQUOTTERM))
return(ARGS_ERROR);