summaryrefslogtreecommitdiffstats
path: root/argv.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-01-20 13:05:28 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-01-20 13:05:28 +0000
commitffd36f32dbbe968941923914f7f8630c797a1206 (patch)
tree721e677a8d53f9114adfa009f12326d25630633b /argv.c
parentff707aa645312b3a39818f27c27f11dc06eca2d6 (diff)
downloadmandoc-ffd36f32dbbe968941923914f7f8630c797a1206.tar.gz
Quoted-literals handled correctly.
Diffstat (limited to 'argv.c')
-rw-r--r--argv.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/argv.c b/argv.c
index b0a33c13..bd050efb 100644
--- a/argv.c
+++ b/argv.c
@@ -148,18 +148,18 @@ mdoc_args(struct mdoc *mdoc, int line, int *pos, char *buf, int fl, char **v)
buf[(*pos)++] = 0;
if (0 == buf[*pos])
- return(ARGS_WORD);
+ return(ARGS_QWORD);
while (buf[*pos] && isspace(buf[*pos]))
(*pos)++;
if (buf[*pos])
- return(ARGS_WORD);
+ return(ARGS_QWORD);
if ( ! mdoc_pwarn(mdoc, line, *pos, WARN_COMPAT, "whitespace at end-of-line"))
return(ARGS_ERROR);
- return(ARGS_WORD);
+ return(ARGS_QWORD);
}