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

Diff for /mandoc/man_macro.c between version 1.35 and 1.36

version 1.35, 2010/03/24 20:10:53 version 1.36, 2010/03/25 07:28:16
Line 217  rew_scope(enum man_type type, struct man *m, enum mant
Line 217  rew_scope(enum man_type type, struct man *m, enum mant
 }  }
   
   
 /* ARGSUSED */  /*
    * Closure for dotted macros (de, dei, am, ami, ign).  This must handle
    * any of these as the parent node, so it needs special handling.
    * Beyond this, it's the same as blk_close().
    */
 int  int
 blk_dotted(MACRO_PROT_ARGS)  blk_dotted(MACRO_PROT_ARGS)
 {  {
Line 248  blk_dotted(MACRO_PROT_ARGS)
Line 252  blk_dotted(MACRO_PROT_ARGS)
 }  }
   
   
 /* ARGSUSED */  /*
    * Close out a generic explicit macro.
    */
 int  int
 blk_close(MACRO_PROT_ARGS)  blk_close(MACRO_PROT_ARGS)
 {  {
Line 286  blk_exp(MACRO_PROT_ARGS)
Line 292  blk_exp(MACRO_PROT_ARGS)
 {  {
         int              w, la;          int              w, la;
         char            *p;          char            *p;
         struct man_node *n;  
   
         /*          /*
          * Close out prior scopes.  "Regular" explicit macros cannot be           * Close out prior scopes.  "Regular" explicit macros cannot be
Line 305  blk_exp(MACRO_PROT_ARGS)
Line 310  blk_exp(MACRO_PROT_ARGS)
                 return(0);                  return(0);
         if ( ! man_head_alloc(m, line, ppos, tok))          if ( ! man_head_alloc(m, line, ppos, tok))
                 return(0);                  return(0);
   
         n = m->last;  
   
         for (;;) {          for (;;) {
                 la = *pos;                  la = *pos;

Legend:
Removed from v.1.35  
changed lines
  Added in v.1.36

CVSweb