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

Diff for /mandoc/Attic/mdocterm.c between version 1.39 and 1.41

version 1.39, 2009/03/11 00:39:58 version 1.41, 2009/03/14 05:36:07
Line 70  static struct termenc   termenc1[] = {
Line 70  static struct termenc   termenc1[] = {
         { "&",            TERMSYM_BREAK },          { "&",            TERMSYM_BREAK },
         { "e",            TERMSYM_SLASH },          { "e",            TERMSYM_SLASH },
         { "q",            TERMSYM_DQUOTE },          { "q",            TERMSYM_DQUOTE },
           { "|",            TERMSYM_BREAK },
         { NULL,           0 }          { NULL,           0 }
 };  };
   
Line 125  static struct termenc   termenc2[] = {
Line 126  static struct termenc   termenc2[] = {
         { NULL,           0 }          { NULL,           0 }
 };  };
   
 static  struct termsym    termsym_ansi[] = {  static  struct termsym    termsym_ansi[TERMSYM_MAX] = {
         { "]", 1 },             /* TERMSYM_RBRACK */          { "]", 1 },             /* TERMSYM_RBRACK */
         { "[", 1 },             /* TERMSYM_LBRACK */          { "[", 1 },             /* TERMSYM_LBRACK */
         { "<-", 2 },            /* TERMSYM_LARROW */          { "<-", 2 },            /* TERMSYM_LARROW */
Line 430  word(struct termp *p, const char *word)
Line 431  word(struct termp *p, const char *word)
                 return;                  return;
         }          }
   
         len = strlen(word);          if (0 == (len = strlen(word)))
         assert(len > 0);                  errx(1, "blank line not in literal context");
   
         if (mdoc_isdelim(word)) {          if (mdoc_isdelim(word)) {
                 if ( ! (p->flags & TERMP_IGNDELIM))                  if ( ! (p->flags & TERMP_IGNDELIM))

Legend:
Removed from v.1.39  
changed lines
  Added in v.1.41

CVSweb