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

Diff for /mandoc/mdoc_term.c between version 1.70 and 1.75

version 1.70, 2009/09/16 09:41:24 version 1.75, 2009/09/20 19:25:06
Line 26 
Line 26 
 #include "term.h"  #include "term.h"
 #include "mdoc.h"  #include "mdoc.h"
   
   /* FIXME: check HANG lists: they seem to be broken... :
    * .Bl -hang -width Ds
    * .It a
    * b
    * .It Fl f Ns Ar option...
    * Override default compiler behaviour.  See
    * .Sx Compiler Options
    * for details.
    * Override default compiler behaviour.  See
    * .Sx Compiler Options
    * for details.
    * Override default compiler behaviour.  See
    * .Sx Compiler Options
    * for details.
    * Override default compiler behaviour.  See
    * .Sx Compiler Options
    * for details.
    * .
    * .It a sasd fasd as afsd sfad sfds sadfs sd sfd ssfad asfd
    * Override default compiler behaviour.  See
    * .Sx Compiler Options
    * for details.
    * Override default compiler behaviour.  See
    * .Sx Compiler Options
    * for details.
    * Override default compiler behaviour.  See
    * .Sx Compiler Options
    * for details.
    * Override default compiler behaviour.  See
    * .Sx Compiler Options
    * for details.
    * .El
    *
    */
   
 #define INDENT            5  #define INDENT            5
 #define HALFINDENT        3  #define HALFINDENT        3
   
Line 389  print_foot(DECL_ARGS)
Line 424  print_foot(DECL_ARGS)
 }  }
   
   
   /* FIXME: put in utility library. */
 /* ARGSUSED */  /* ARGSUSED */
 static void  static void
 print_head(DECL_ARGS)  print_head(DECL_ARGS)
Line 458  print_head(DECL_ARGS)
Line 494  print_head(DECL_ARGS)
 }  }
   
   
   /* FIXME: put in utility file for front-ends. */
 static size_t  static size_t
 arg_width(const struct mdoc_argv *arg, int pos)  arg_width(const struct mdoc_argv *arg, int pos)
 {  {
Line 484  arg_width(const struct mdoc_argv *arg, int pos)
Line 521  arg_width(const struct mdoc_argv *arg, int pos)
 }  }
   
   
   /* FIXME: put in utility file for front-ends. */
 static int  static int
 arg_listtype(const struct mdoc_node *n)  arg_listtype(const struct mdoc_node *n)
 {  {
Line 525  arg_listtype(const struct mdoc_node *n)
Line 563  arg_listtype(const struct mdoc_node *n)
 }  }
   
   
   /* FIXME: put in utility file for front-ends. */
 static size_t  static size_t
 arg_offset(const struct mdoc_argv *arg)  arg_offset(const struct mdoc_argv *arg)
 {  {
Line 724  termp_it_pre(DECL_ARGS)
Line 763  termp_it_pre(DECL_ARGS)
                  * the 0 will be adjusted to default 10 or, if in the                   * the 0 will be adjusted to default 10 or, if in the
                  * last column case, set to stretch to the margin).                   * last column case, set to stretch to the margin).
                  */                   */
                 for (i = 0, n = node->prev; n && n &&                  for (i = 0, n = node->prev; n &&
                                 i < (int)bl->args[vals[2]].argv->sz;                                  i < (int)bl->args[vals[2]].argv->sz;
                                 n = n->prev, i++)                                  n = n->prev, i++)
                         offset += arg_width                          offset += arg_width

Legend:
Removed from v.1.70  
changed lines
  Added in v.1.75

CVSweb