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

Diff for /mandoc/mdoc.c between version 1.17 and 1.18

version 1.17, 2009/01/05 16:11:14 version 1.18, 2009/01/05 17:57:08
Line 107  const struct mdoc_macro __mdoc_macros[MDOC_MAX] = {
Line 107  const struct mdoc_macro __mdoc_macros[MDOC_MAX] = {
         { macro_text, MDOC_CALLABLE }, /* Er */          { macro_text, MDOC_CALLABLE }, /* Er */
         { macro_text, MDOC_CALLABLE }, /* Ev */          { macro_text, MDOC_CALLABLE }, /* Ev */
         { macro_constant, 0 }, /* Ex */          { macro_constant, 0 }, /* Ex */
         { macro_text, MDOC_CALLABLE }, /* Fa */          { macro_text, MDOC_CALLABLE | MDOC_QUOTABLE }, /* Fa */
         { macro_constant, 0 }, /* Fd */          { macro_constant, 0 }, /* Fd */
         { macro_text, MDOC_CALLABLE }, /* Fl */          { macro_text, MDOC_CALLABLE }, /* Fl */
         { macro_text, MDOC_CALLABLE | MDOC_QUOTABLE }, /* Fn */          { macro_text, MDOC_CALLABLE | MDOC_QUOTABLE }, /* Fn */
Line 168  const struct mdoc_macro __mdoc_macros[MDOC_MAX] = {
Line 168  const struct mdoc_macro __mdoc_macros[MDOC_MAX] = {
         { macro_scoped_line, MDOC_CALLABLE }, /* Ql */          { macro_scoped_line, MDOC_CALLABLE }, /* Ql */
         { macro_constant_scoped, MDOC_CALLABLE }, /* Qo */          { macro_constant_scoped, MDOC_CALLABLE }, /* Qo */
         { macro_scoped_line, MDOC_CALLABLE }, /* Qq */          { macro_scoped_line, MDOC_CALLABLE }, /* Qq */
         { macro_scoped, MDOC_EXPLICIT }, /* Re */          { macro_close_explicit, 0 }, /* Re */
         { macro_scoped, MDOC_EXPLICIT }, /* Rs */          { macro_scoped, MDOC_EXPLICIT }, /* Rs */
         { macro_close_explicit, MDOC_CALLABLE }, /* Sc */          { macro_close_explicit, MDOC_CALLABLE }, /* Sc */
         { macro_constant_scoped, MDOC_CALLABLE }, /* So */          { macro_constant_scoped, MDOC_CALLABLE }, /* So */
Line 252  mdoc_parseln(struct mdoc *mdoc, char *buf)
Line 252  mdoc_parseln(struct mdoc *mdoc, char *buf)
         char              tmp[5];          char              tmp[5];
   
         if ('.' != *buf) {          if ('.' != *buf) {
                   if (SEC_PROLOGUE == mdoc->sec_lastn)
                           return(mdoc_err(mdoc, -1, 0, ERR_SYNTAX_NOTEXT));
                 mdoc_word_alloc(mdoc, 0, buf);                  mdoc_word_alloc(mdoc, 0, buf);
                 mdoc->next = MDOC_NEXT_SIBLING;                  mdoc->next = MDOC_NEXT_SIBLING;
                 return(1);                  return(1);

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

CVSweb