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

Diff for /mandoc/mdoc_html.c between version 1.227 and 1.228

version 1.227, 2015/04/02 21:36:50 version 1.228, 2015/04/02 22:48:17
Line 36 
Line 36 
 #define INDENT           5  #define INDENT           5
   
 #define MDOC_ARGS         const struct mdoc_meta *meta, \  #define MDOC_ARGS         const struct mdoc_meta *meta, \
                           struct mdoc_node *n, \                            struct roff_node *n, \
                           struct html *h                            struct html *h
   
 #ifndef MIN  #ifndef MIN
Line 53  static void    print_mdoc_head(MDOC_ARGS);
Line 53  static void    print_mdoc_head(MDOC_ARGS);
 static  void              print_mdoc_node(MDOC_ARGS);  static  void              print_mdoc_node(MDOC_ARGS);
 static  void              print_mdoc_nodelist(MDOC_ARGS);  static  void              print_mdoc_nodelist(MDOC_ARGS);
 static  void              synopsis_pre(struct html *,  static  void              synopsis_pre(struct html *,
                                 const struct mdoc_node *);                                  const struct roff_node *);
   
 static  void              a2width(const char *, struct roffsu *);  static  void              a2width(const char *, struct roffsu *);
   
Line 293  a2width(const char *p, struct roffsu *su)
Line 293  a2width(const char *p, struct roffsu *su)
  * See the same function in mdoc_term.c for documentation.   * See the same function in mdoc_term.c for documentation.
  */   */
 static void  static void
 synopsis_pre(struct html *h, const struct mdoc_node *n)  synopsis_pre(struct html *h, const struct roff_node *n)
 {  {
   
         if (NULL == n->prev || ! (MDOC_SYNPRETTY & n->flags))          if (NULL == n->prev || ! (MDOC_SYNPRETTY & n->flags))
Line 822  mdoc_it_pre(MDOC_ARGS)
Line 822  mdoc_it_pre(MDOC_ARGS)
         struct roffsu    su;          struct roffsu    su;
         enum mdoc_list   type;          enum mdoc_list   type;
         struct htmlpair  tag[2];          struct htmlpair  tag[2];
         const struct mdoc_node *bl;          const struct roff_node *bl;
   
         bl = n->parent;          bl = n->parent;
         while (bl && MDOC_Bl != bl->tok)          while (bl && MDOC_Bl != bl->tok)
Line 1126  mdoc_bd_pre(MDOC_ARGS)
Line 1126  mdoc_bd_pre(MDOC_ARGS)
 {  {
         struct htmlpair          tag[2];          struct htmlpair          tag[2];
         int                      comp, sv;          int                      comp, sv;
         struct mdoc_node        *nn;          struct roff_node        *nn;
         struct roffsu            su;          struct roffsu            su;
   
         if (n->type == ROFFT_HEAD)          if (n->type == ROFFT_HEAD)
Line 1312  mdoc_er_pre(MDOC_ARGS)
Line 1312  mdoc_er_pre(MDOC_ARGS)
 static int  static int
 mdoc_fa_pre(MDOC_ARGS)  mdoc_fa_pre(MDOC_ARGS)
 {  {
         const struct mdoc_node  *nn;          const struct roff_node  *nn;
         struct htmlpair          tag;          struct htmlpair          tag;
         struct tag              *t;          struct tag              *t;
   

Legend:
Removed from v.1.227  
changed lines
  Added in v.1.228

CVSweb