[BACK]Return to man_argv.c CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc

Diff for /mandoc/Attic/man_argv.c between version 1.1 and 1.3

version 1.1, 2009/08/13 11:45:29 version 1.3, 2010/05/17 22:11:42
Line 14 
Line 14 
  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF   * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.   * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */   */
   #ifdef HAVE_CONFIG_H
   #include "config.h"
   #endif
   
 #include <sys/types.h>  #include <sys/types.h>
   
 #include <assert.h>  #include <assert.h>
 #include <stdlib.h>  #include <stdlib.h>
 #include <string.h>  #include <string.h>
   
   #include "mandoc.h"
 #include "libman.h"  #include "libman.h"
   
   
Line 53  man_args(struct man *m, int line, int *pos, char *buf,
Line 58  man_args(struct man *m, int line, int *pos, char *buf,
                 }                  }
   
                 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  man_args(struct man *m, int line, int *pos, char *buf,
Line 72  man_args(struct man *m, int line, int *pos, char *buf,
                         (*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  man_args(struct man *m, int line, int *pos, char *buf,
Line 96  man_args(struct man *m, int line, int *pos, char *buf,
                 (*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.3

CVSweb