[BACK]Return to man_argv.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / mandoc

Diff for /src/usr.bin/mandoc/Attic/man_argv.c between version 1.1 and 1.2

version 1.1, 2009/08/23 11:22:19 version 1.2, 2010/05/23 22:45:00
Line 20 
Line 20 
 #include <stdlib.h>  #include <stdlib.h>
 #include <string.h>  #include <string.h>
   
   #include "mandoc.h"
 #include "libman.h"  #include "libman.h"
   
   
Line 53 
Line 54 
                 }                  }
   
                 if (0 == buf[*pos]) {                  if (0 == buf[*pos]) {
                         if ( ! man_pwarn(m, line, *pos, WTQUOTE))                          if ( ! man_pmsg(m, line, *pos, MANDOCERR_BADQUOTE))
                                 return(ARGS_ERROR);                                  return(ARGS_ERROR);
                         return(ARGS_QWORD);                          return(ARGS_QWORD);
                 }                  }
Line 67 
Line 68 
                         (*pos)++;                          (*pos)++;
   
                 if (0 == buf[*pos])                  if (0 == buf[*pos])
                         if ( ! man_pwarn(m, line, *pos, WTSPACE))                          if ( ! man_pmsg(m, line, *pos, MANDOCERR_EOLNSPACE))
                                 return(ARGS_ERROR);                                  return(ARGS_ERROR);
   
                 return(ARGS_QWORD);                  return(ARGS_QWORD);
Line 91 
Line 92 
                 (*pos)++;                  (*pos)++;
   
         if (0 == buf[*pos])          if (0 == buf[*pos])
                 if ( ! man_pwarn(m, line, *pos, WTSPACE))                  if ( ! man_pmsg(m, line, *pos, MANDOCERR_EOLNSPACE))
                         return(ARGS_ERROR);                          return(ARGS_ERROR);
   
         return(ARGS_WORD);          return(ARGS_WORD);

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2