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

Diff for /mandoc/mandocdb.c between version 1.246 and 1.247

version 1.246, 2017/04/24 23:06:18 version 1.247, 2017/05/04 17:48:28
Line 302  static const struct mdoc_handler __mdocs[MDOC_MAX - MD
Line 302  static const struct mdoc_handler __mdocs[MDOC_MAX - MD
         { NULL, 0, 0 },  /* En */          { NULL, 0, 0 },  /* En */
         { NULL, TYPE_Dx, NODE_NOSRC },  /* Dx */          { NULL, TYPE_Dx, NODE_NOSRC },  /* Dx */
         { NULL, 0, 0 },  /* %Q */          { NULL, 0, 0 },  /* %Q */
         { NULL, 0, 0 },  /* br */  
         { NULL, 0, 0 },  /* sp */          { NULL, 0, 0 },  /* sp */
         { NULL, 0, 0 },  /* %U */          { NULL, 0, 0 },  /* %U */
         { NULL, 0, 0 },  /* Ta */          { NULL, 0, 0 },  /* Ta */
Line 1547  parse_mdoc(struct mpage *mpage, const struct roff_meta
Line 1546  parse_mdoc(struct mpage *mpage, const struct roff_meta
 {  {
   
         for (n = n->child; n != NULL; n = n->next) {          for (n = n->child; n != NULL; n = n->next) {
                 if (n->tok == TOKEN_NONE || n->flags & mdocs[n->tok].taboo)                  if (n->tok == TOKEN_NONE ||
                       n->tok < ROFF_MAX ||
                       n->flags & mdocs[n->tok].taboo)
                         continue;                          continue;
                   assert(n->tok >= MDOC_Dd && n->tok < MDOC_MAX);
                 switch (n->type) {                  switch (n->type) {
                 case ROFFT_ELEM:                  case ROFFT_ELEM:
                 case ROFFT_BLOCK:                  case ROFFT_BLOCK:

Legend:
Removed from v.1.246  
changed lines
  Added in v.1.247

CVSweb