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

Diff for /mandoc/Attic/macro.c between version 1.51 and 1.53

version 1.51, 2009/02/23 12:45:19 version 1.53, 2009/02/26 14:56:27
Line 170  const struct mdoc_macro __mdoc_macros[MDOC_MAX] = {
Line 170  const struct mdoc_macro __mdoc_macros[MDOC_MAX] = {
         { macro_constant_scoped, MDOC_CALLABLE | MDOC_PARSED | MDOC_EXPLICIT }, /* Xo */          { macro_constant_scoped, MDOC_CALLABLE | MDOC_PARSED | MDOC_EXPLICIT }, /* Xo */
         /* XXX - .Fo supposed to be (but isn't) callable. */          /* XXX - .Fo supposed to be (but isn't) callable. */
         { macro_scoped, MDOC_EXPLICIT }, /* Fo */          { macro_scoped, MDOC_EXPLICIT }, /* Fo */
         /* XXX - .Fc supposed to be (but isn't) callable. */          { macro_scoped_close, MDOC_EXPLICIT | MDOC_CALLABLE | MDOC_PARSED }, /* Fc */
         { macro_scoped_close, MDOC_EXPLICIT }, /* Fc */  
         { macro_constant_scoped, MDOC_CALLABLE | MDOC_PARSED | MDOC_EXPLICIT }, /* Oo */          { macro_constant_scoped, MDOC_CALLABLE | MDOC_PARSED | MDOC_EXPLICIT }, /* Oo */
         { macro_scoped_close, MDOC_EXPLICIT | MDOC_CALLABLE | MDOC_PARSED }, /* Oc */          { macro_scoped_close, MDOC_EXPLICIT | MDOC_CALLABLE | MDOC_PARSED }, /* Oc */
         { macro_scoped, MDOC_EXPLICIT }, /* Bk */          { macro_scoped, MDOC_EXPLICIT }, /* Bk */
Line 922  macro_scoped(MACRO_PROT_ARGS)
Line 921  macro_scoped(MACRO_PROT_ARGS)
   
                 if (ARGS_ERROR == c)                  if (ARGS_ERROR == c)
                         return(0);                          return(0);
                 if (ARGS_PUNCT == c)  
                         break;  
                 if (ARGS_EOLN == c)                  if (ARGS_EOLN == c)
                         break;                          break;
   
                 if (ARGS_PHRASE == c) {                  if (ARGS_PHRASE == c) {
                         /*                          /*
                         if ( ! mdoc_phrase(mdoc, line, lastarg, buf))                          if ( ! mdoc_phrase(mdoc, line, lastarg, buf))
Line 953  macro_scoped(MACRO_PROT_ARGS)
Line 949  macro_scoped(MACRO_PROT_ARGS)
                 break;                  break;
         }          }
   
         if ( ! rewind_subblock(MDOC_HEAD, mdoc, tok, line, ppos))  
                 return(0);  
         if (1 == ppos && ! append_delims(mdoc, line, pos, buf))          if (1 == ppos && ! append_delims(mdoc, line, pos, buf))
                   return(0);
           if ( ! rewind_subblock(MDOC_HEAD, mdoc, tok, line, ppos))
                 return(0);                  return(0);
   
         if ( ! mdoc_body_alloc(mdoc, line, ppos, tok))          if ( ! mdoc_body_alloc(mdoc, line, ppos, tok))

Legend:
Removed from v.1.51  
changed lines
  Added in v.1.53

CVSweb