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

Diff for /mandoc/Attic/argv.c between version 1.15 and 1.16

version 1.15, 2009/01/16 12:23:25 version 1.16, 2009/01/17 20:10:36
Line 29 
Line 29 
 /* FIXME: .It called with -column and quoted arguments. */  /* FIXME: .It called with -column and quoted arguments. */
   
 static  int              lookup(int, const char *);  static  int              lookup(int, const char *);
 static  int              parse(struct mdoc *, int, int,  static  int              parse(struct mdoc *, int,
                                 struct mdoc_arg *, int *, char *);                                  struct mdoc_arg *, int *, char *);
 static  int              parse_single(struct mdoc *, int,  static  int              parse_single(struct mdoc *, int,
                                 struct mdoc_arg *, int *, char *);                                  struct mdoc_arg *, int *, char *);
Line 404  parse_single(struct mdoc *mdoc, int line, 
Line 404  parse_single(struct mdoc *mdoc, int line, 
   
   
 static int  static int
 parse(struct mdoc *mdoc, int line, int tok,  parse(struct mdoc *mdoc, int line,
                 struct mdoc_arg *v, int *pos, char *buf)                  struct mdoc_arg *v, int *pos, char *buf)
 {  {
   
Line 469  mdoc_argv(struct mdoc *mdoc, int line, int tok,
Line 469  mdoc_argv(struct mdoc *mdoc, int line, int tok,
         /* FIXME: whitespace if no value. */          /* FIXME: whitespace if no value. */
   
         ppos = *pos;          ppos = *pos;
         if ( ! parse(mdoc, line, tok, v, pos, buf))          if ( ! parse(mdoc, line, v, pos, buf))
                 return(ARGV_ERROR);                  return(ARGV_ERROR);
         if ( ! postparse(mdoc, line, v, ppos))          if ( ! postparse(mdoc, line, v, ppos))
                 return(ARGV_ERROR);                  return(ARGV_ERROR);

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16

CVSweb