=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/mandoc/mandoc.c,v retrieving revision 1.51 retrieving revision 1.52 diff -c -r1.51 -r1.52 *** src/usr.bin/mandoc/mandoc.c 2014/07/06 18:36:49 1.51 --- src/usr.bin/mandoc/mandoc.c 2014/07/06 19:08:56 1.52 *************** *** 1,4 **** ! /* $Id: mandoc.c,v 1.51 2014/07/06 18:36:49 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons * Copyright (c) 2011, 2012, 2013, 2014 Ingo Schwarze --- 1,4 ---- ! /* $Id: mandoc.c,v 1.52 2014/07/06 19:08:56 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons * Copyright (c) 2011, 2012, 2013, 2014 Ingo Schwarze *************** *** 425,431 **** /* Quoted argument without a closing quote. */ if (1 == quoted) ! mandoc_msg(MANDOCERR_BADQUOTE, parse, ln, *pos, NULL); /* NUL-terminate this argument and move to the next one. */ if (pairs) --- 425,431 ---- /* Quoted argument without a closing quote. */ if (1 == quoted) ! mandoc_msg(MANDOCERR_ARG_QUOTE, parse, ln, *pos, NULL); /* NUL-terminate this argument and move to the next one. */ if (pairs) *************** *** 439,445 **** *cpp = cp; if ('\0' == *cp && (white || ' ' == cp[-1])) ! mandoc_msg(MANDOCERR_EOLNSPACE, parse, ln, *pos, NULL); return(start); } --- 439,445 ---- *cpp = cp; if ('\0' == *cp && (white || ' ' == cp[-1])) ! mandoc_msg(MANDOCERR_SPACE_EOL, parse, ln, *pos, NULL); return(start); }