[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.148 and 1.149

version 1.148, 2010/06/12 11:21:44 version 1.149, 2010/06/12 11:58:22
Line 570  print_bvspace(struct termp *p, 
Line 570  print_bvspace(struct termp *p, 
 {  {
         const struct mdoc_node  *nn;          const struct mdoc_node  *nn;
   
           /* FIXME: MDOC_Bd == bl->tok && bl->data.Bd.comp */
         term_newln(p);          term_newln(p);
         if (arg_hasattr(MDOC_Compact, bl))          if (arg_hasattr(MDOC_Compact, bl))
                 return;                  return;
Line 590  print_bvspace(struct termp *p, 
Line 591  print_bvspace(struct termp *p, 
   
         /* A `-column' does not assert vspace within the list. */          /* A `-column' does not assert vspace within the list. */
   
         if (MDOC_Bl == bl->tok && LIST_column == bl->data.list)          if (MDOC_Bl == bl->tok && LIST_column == bl->data.Bl.type)
                 if (n->prev && MDOC_It == n->prev->tok)                  if (n->prev && MDOC_It == n->prev->tok)
                         return;                          return;
   
         /* A `-diag' without body does not vspace. */          /* A `-diag' without body does not vspace. */
   
         if (MDOC_Bl == bl->tok && LIST_diag == bl->data.list)          if (MDOC_Bl == bl->tok && LIST_diag == bl->data.Bl.type)
                 if (n->prev && MDOC_It == n->prev->tok) {                  if (n->prev && MDOC_It == n->prev->tok) {
                         assert(n->prev->body);                          assert(n->prev->body);
                         if (NULL == n->prev->body->child)                          if (NULL == n->prev->body->child)
Line 661  termp_it_pre(DECL_ARGS)
Line 662  termp_it_pre(DECL_ARGS)
   
         arg_getattrs(keys, vals, 3, bl);          arg_getattrs(keys, vals, 3, bl);
   
         type = bl->data.list;          type = bl->data.Bl.type;
   
         /*          /*
          * First calculate width and offset.  This is pretty easy unless           * First calculate width and offset.  This is pretty easy unless
Line 989  termp_it_post(DECL_ARGS)
Line 990  termp_it_post(DECL_ARGS)
         if (MDOC_BLOCK == n->type)          if (MDOC_BLOCK == n->type)
                 return;                  return;
   
         type = n->parent->parent->parent->data.list;          type = n->parent->parent->parent->data.Bl.type;
   
         switch (type) {          switch (type) {
         case (LIST_item):          case (LIST_item):

Legend:
Removed from v.1.148  
changed lines
  Added in v.1.149

CVSweb