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

Diff for /mandoc/mdoc_validate.c between version 1.91 and 1.92

version 1.91, 2010/06/03 13:44:36 version 1.92, 2010/06/09 19:22:56
Line 47  struct valids {
Line 47  struct valids {
   
 static  int      check_parent(PRE_ARGS, enum mdoct, enum mdoc_type);  static  int      check_parent(PRE_ARGS, enum mdoct, enum mdoc_type);
 static  int      check_stdarg(PRE_ARGS);  static  int      check_stdarg(PRE_ARGS);
 static  int      check_text(struct mdoc *, int, int, const char *);  static  int      check_text(struct mdoc *, int, int, char *);
 static  int      check_argv(struct mdoc *,  static  int      check_argv(struct mdoc *,
                         const struct mdoc_node *,                          struct mdoc_node *, struct mdoc_argv *);
                         const struct mdoc_argv *);  static  int      check_args(struct mdoc *, struct mdoc_node *);
 static  int      check_args(struct mdoc *,  
                         const struct mdoc_node *);  
 static  int      err_child_lt(struct mdoc *, const char *, int);  static  int      err_child_lt(struct mdoc *, const char *, int);
 static  int      warn_child_lt(struct mdoc *, const char *, int);  static  int      warn_child_lt(struct mdoc *, const char *, int);
 static  int      err_child_gt(struct mdoc *, const char *, int);  static  int      err_child_gt(struct mdoc *, const char *, int);
Line 277  mdoc_valid_pre(struct mdoc *mdoc, struct mdoc_node *n)
Line 275  mdoc_valid_pre(struct mdoc *mdoc, struct mdoc_node *n)
 {  {
         v_pre           *p;          v_pre           *p;
         int              line, pos;          int              line, pos;
         const char      *tp;          char            *tp;
   
         if (MDOC_TEXT == n->type) {          if (MDOC_TEXT == n->type) {
                 tp = n->string;                  tp = n->string;
Line 419  check_stdarg(PRE_ARGS)
Line 417  check_stdarg(PRE_ARGS)
   
   
 static int  static int
 check_args(struct mdoc *m, const struct mdoc_node *n)  check_args(struct mdoc *m, struct mdoc_node *n)
 {  {
         int              i;          int              i;
   
Line 436  check_args(struct mdoc *m, const struct mdoc_node *n)
Line 434  check_args(struct mdoc *m, const struct mdoc_node *n)
   
   
 static int  static int
 check_argv(struct mdoc *m, const struct mdoc_node *n,  check_argv(struct mdoc *m, struct mdoc_node *n, struct mdoc_argv *v)
                 const struct mdoc_argv *v)  
 {  {
         int              i;          int              i;
   
Line 457  check_argv(struct mdoc *m, const struct mdoc_node *n, 
Line 454  check_argv(struct mdoc *m, const struct mdoc_node *n, 
   
   
 static int  static int
 check_text(struct mdoc *mdoc, int line, int pos, const char *p)  check_text(struct mdoc *mdoc, int line, int pos, char *p)
 {  {
         int              c;          int              c;
   

Legend:
Removed from v.1.91  
changed lines
  Added in v.1.92

CVSweb