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

Diff for /mandoc/roff.c between version 1.287 and 1.288

version 1.287, 2017/01/10 21:59:47 version 1.288, 2017/01/12 18:02:20
Line 1223  deroff(char **dest, const struct roff_node *n)
Line 1223  deroff(char **dest, const struct roff_node *n)
                 return;                  return;
         }          }
   
         /* Skip leading whitespace and escape sequences. */          /* Skip leading whitespace. */
   
         cp = n->string;          for (cp = n->string; *cp != '\0'; cp++) {
         while (*cp != '\0') {                  if (cp[0] == '\\' && strchr(" %&0^|~", cp[1]) != NULL)
                 if ('\\' == *cp) {  
                         cp++;                          cp++;
                         mandoc_escape((const char **)&cp, NULL, NULL);                  else if ( ! isspace((unsigned char)*cp))
                 } else if (isspace((unsigned char)*cp))  
                         cp++;  
                 else  
                         break;                          break;
         }          }
   

Legend:
Removed from v.1.287  
changed lines
  Added in v.1.288

CVSweb