version 1.82, 2014/07/06 18:37:34 |
version 1.83, 2014/07/06 19:09:00 |
Line 429 mandoc_getarg(struct mparse *parse, char **cpp, int ln |
|
Line 429 mandoc_getarg(struct mparse *parse, char **cpp, int ln |
|
|
|
/* Quoted argument without a closing quote. */ |
/* Quoted argument without a closing quote. */ |
if (1 == quoted) |
if (1 == quoted) |
mandoc_msg(MANDOCERR_BADQUOTE, parse, ln, *pos, NULL); |
mandoc_msg(MANDOCERR_ARG_QUOTE, parse, ln, *pos, NULL); |
|
|
/* NUL-terminate this argument and move to the next one. */ |
/* NUL-terminate this argument and move to the next one. */ |
if (pairs) |
if (pairs) |
Line 443 mandoc_getarg(struct mparse *parse, char **cpp, int ln |
|
Line 443 mandoc_getarg(struct mparse *parse, char **cpp, int ln |
|
*cpp = cp; |
*cpp = cp; |
|
|
if ('\0' == *cp && (white || ' ' == cp[-1])) |
if ('\0' == *cp && (white || ' ' == cp[-1])) |
mandoc_msg(MANDOCERR_EOLNSPACE, parse, ln, *pos, NULL); |
mandoc_msg(MANDOCERR_SPACE_EOL, parse, ln, *pos, NULL); |
|
|
return(start); |
return(start); |
} |
} |