diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-01-20 13:05:28 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-01-20 13:05:28 +0000 |
commit | ffd36f32dbbe968941923914f7f8630c797a1206 (patch) | |
tree | 721e677a8d53f9114adfa009f12326d25630633b /argv.c | |
parent | ff707aa645312b3a39818f27c27f11dc06eca2d6 (diff) | |
download | mandoc-ffd36f32dbbe968941923914f7f8630c797a1206.tar.gz |
Quoted-literals handled correctly.
Diffstat (limited to 'argv.c')
-rw-r--r-- | argv.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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); } |