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

Diff for /mandoc/roff_escape.c between version 1.10 and 1.11

version 1.10, 2022/06/05 13:54:09 version 1.11, 2022/06/06 12:09:48
Line 206  roff_escape(const char *buf, const int ln, const int a
Line 206  roff_escape(const char *buf, const int ln, const int a
                 term = '\b';                  term = '\b';
                 break;                  break;
         case 'C':          case 'C':
                 if (buf[iarg] != '\'') {  
                         rval = ESCAPE_ERROR;  
                         goto out;  
                 }  
                 rval = ESCAPE_SPECIAL;                  rval = ESCAPE_SPECIAL;
                 term = '\b';                  term = '\b';
                 break;                  break;
Line 391  roff_escape(const char *buf, const int ln, const int a
Line 387  roff_escape(const char *buf, const int ln, const int a
                 break;                  break;
   
         case ESCAPE_SPECIAL:          case ESCAPE_SPECIAL:
                   if (argl == 0) {
                           err = MANDOCERR_ESC_BADCHAR;
                           rval = ESCAPE_ERROR;
                           break;
                   }
   
                 /*                  /*
                  * The file chars.c only provides one common list of                   * The file chars.c only provides one common list of

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

CVSweb