From d7fbb7d096f24634fd2aa0c5146e6fbf55acb09e Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Tue, 20 Jan 2009 13:05:28 +0000 Subject: Quoted-literals handled correctly. --- argv.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'argv.c') diff --git a/argv.c b/argv.c index 8ebf89be..40a4d12f 100644 --- a/argv.c +++ b/argv.c @@ -1,4 +1,4 @@ -/* $Id: argv.c,v 1.18 2009/01/20 12:51:28 kristaps Exp $ */ +/* $Id: argv.c,v 1.19 2009/01/20 13:05:28 kristaps Exp $ */ /* * Copyright (c) 2008 Kristaps Dzonsons * @@ -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); } -- cgit v1.2.3-56-ge451