[BACK]Return to mdoc_html.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / mandoc

Diff for /src/usr.bin/mandoc/mdoc_html.c between version 1.102 and 1.103

version 1.102, 2015/04/02 21:03:18 version 1.103, 2015/04/02 22:06:17
Line 34 
Line 34 
 #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 51 
Line 51 
 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 291 
Line 291 
  * 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 820 
Line 820 
         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 1124 
Line 1124 
 {  {
         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 1310 
Line 1310 
 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.102  
changed lines
  Added in v.1.103