diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-07-18 18:59:33 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-07-18 18:59:33 +0000 |
commit | a69e6330edb815641b0afad6c0073368334fece0 (patch) | |
tree | 8131f35bc2c9ded55ee6efe7eccfbe45153da5d6 /mdoc_argv.c | |
parent | 40deddbd62531337fca0783d1d15302aa2bec2e9 (diff) | |
download | mandoc-a69e6330edb815641b0afad6c0073368334fece0.tar.gz |
Made unterminated quoted literals be a warning, like groff.
Diffstat (limited to 'mdoc_argv.c')
-rw-r--r-- | mdoc_argv.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mdoc_argv.c b/mdoc_argv.c index 73388781..4431ffa2 100644 --- a/mdoc_argv.c +++ b/mdoc_argv.c @@ -501,8 +501,9 @@ args(struct mdoc *m, int line, int *pos, } if (0 == buf[*pos]) { - (void)mdoc_perr(m, line, *pos, EQUOTTERM); - return(ARGS_ERROR); + if ( ! mdoc_pwarn(m, line, *pos, EQUOTTERM)) + return(ARGS_ERROR); + return(ARGS_QWORD); } buf[(*pos)++] = 0; |