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

Diff for /mandoc/Attic/mlg.c between version 1.13 and 1.14

version 1.13, 2008/12/06 13:18:44 version 1.14, 2008/12/06 16:50:18
Line 426  mlg_roffspecial(void *arg, int tok, const char *start,
Line 426  mlg_roffspecial(void *arg, int tok, const char *start,
         p = (struct md_mlg *)arg;          p = (struct md_mlg *)arg;
   
         switch (tok) {          switch (tok) {
           case (ROFF_Bt):
                   assert(NULL == *more);
                   if ( ! mlg_begintag(p, MD_NS_INLINE, tok, NULL, NULL))
                           return(0);
                   if ( ! ml_puts(p->mbuf, "is currently in beta "
                                           "test.", &p->pos))
                           return(0);
                   if ( ! mlg_endtag(p, MD_NS_INLINE, tok))
                           return(0);
                   break;
   
         case (ROFF_Xr):          case (ROFF_Xr):
                 if ( ! *more) {                  if ( ! *more) {
                         mlg_err(p, start, start, "missing argument");                          mlg_err(p, start, start, "missing argument");
Line 491  mlg_roffspecial(void *arg, int tok, const char *start,
Line 502  mlg_roffspecial(void *arg, int tok, const char *start,
                                         "occurs.", &p->pos))                                          "occurs.", &p->pos))
                         return(0);                          return(0);
                 assert(NULL == *more);                  assert(NULL == *more);
                   if ( ! mlg_endtag(p, MD_NS_INLINE, tok))
                           return(0);
                   break;
   
           case (ROFF_Ud):
                   assert(NULL == *more);
                   if ( ! mlg_begintag(p, MD_NS_INLINE, tok, NULL, NULL))
                           return(0);
                   if ( ! ml_puts(p->mbuf, "currently under "
                                           "development.", &p->pos))
                           return(0);
                 if ( ! mlg_endtag(p, MD_NS_INLINE, tok))                  if ( ! mlg_endtag(p, MD_NS_INLINE, tok))
                         return(0);                          return(0);
                 break;                  break;

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14

CVSweb