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

Diff for /mandoc/mdoc_macro.c between version 1.16 and 1.18

version 1.16, 2009/07/06 13:04:52 version 1.18, 2009/07/07 11:47:17
Line 83  const struct mdoc_macro __mdoc_macros[MDOC_MAX] = {
Line 83  const struct mdoc_macro __mdoc_macros[MDOC_MAX] = {
         { in_line, MDOC_CALLABLE | MDOC_PARSED }, /* Fn */          { in_line, MDOC_CALLABLE | MDOC_PARSED }, /* Fn */
         { in_line, MDOC_CALLABLE | MDOC_PARSED }, /* Ft */          { in_line, MDOC_CALLABLE | MDOC_PARSED }, /* Ft */
         { in_line, MDOC_CALLABLE | MDOC_PARSED }, /* Ic */          { in_line, MDOC_CALLABLE | MDOC_PARSED }, /* Ic */
         { in_line_eoln, 0 }, /* In */  /* FIXME: historic usage! */          { in_line_argn, MDOC_CALLABLE | MDOC_PARSED }, /* In */
         { in_line, MDOC_CALLABLE | MDOC_PARSED }, /* Li */          { in_line, MDOC_CALLABLE | MDOC_PARSED }, /* Li */
         { in_line_eoln, 0 }, /* Nd */          { in_line_eoln, 0 }, /* Nd */
         { in_line, MDOC_CALLABLE | MDOC_PARSED }, /* Nm */          { in_line, MDOC_CALLABLE | MDOC_PARSED }, /* Nm */
Line 660  blk_exp_close(MACRO_PROT_ARGS)
Line 660  blk_exp_close(MACRO_PROT_ARGS)
                                 return(0);                                  return(0);
                         return(rew_expblock(mdoc, tok, line, ppos));                          return(rew_expblock(mdoc, tok, line, ppos));
                 }                  }
                 return(mdoc_perr(mdoc, line, ppos, ENOPARMS));                  return(mdoc_perr(mdoc, line, ppos, ENOLINE));
         }          }
   
         if ( ! rew_subblock(MDOC_BODY, mdoc, tok, line, ppos))          if ( ! rew_subblock(MDOC_BODY, mdoc, tok, line, ppos))
Line 1382  phrase(struct mdoc *mdoc, int line, int ppos, char *bu
Line 1382  phrase(struct mdoc *mdoc, int line, int ppos, char *bu
                                 else if ('\\' != buf[i - 1])                                  else if ('\\' != buf[i - 1])
                                         break;                                          break;
                         if (0 == buf[i])                          if (0 == buf[i])
                                 return(mdoc_perr(mdoc, line, la, EQUOT));                                  return(mdoc_perr(mdoc, line, la, EQUOTPHR));
                         quoted = 1;                          quoted = 1;
                 } else                  } else
                         for ( ; buf[i]; i++)                          for ( ; buf[i]; i++)

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.18

CVSweb