[BACK]Return to compile.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / sed

Diff for /src/usr.bin/sed/compile.c between version 1.49 and 1.50

version 1.49, 2018/08/14 18:10:09 version 1.50, 2018/12/07 14:45:40
Line 284 
Line 284 
                 case BRANCH:                    /* b t */                  case BRANCH:                    /* b t */
                         p++;                          p++;
                         EATSPACE();                          EATSPACE();
                         if (*p == '\0')                          if (*p == '\0' || *p == ';')
                                 cmd->t = NULL;                                  cmd->t = NULL;
                         else                          else
                                 cmd->t = duptoeol(p, "branch", &p);                                  cmd->t = duptoeol(p, "branch", &p);

Legend:
Removed from v.1.49  
changed lines
  Added in v.1.50