[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.22 and 1.23

version 1.22, 2006/10/09 00:23:56 version 1.23, 2007/01/09 08:37:44
Line 161 
Line 161 
                 }                  }
   
 semicolon:      EATSPACE();  semicolon:      EATSPACE();
                 if (p && (*p == '#' || *p == '\0'))                  if (*p == '#' || *p == '\0')
                         continue;                          continue;
                   if (*p == ';') {
                           p++;
                           goto semicolon;
                   }
                 *link = cmd = xmalloc(sizeof(struct s_command));                  *link = cmd = xmalloc(sizeof(struct s_command));
                 link = &cmd->next;                  link = &cmd->next;
                 cmd->nonsel = cmd->inrange = 0;                  cmd->nonsel = cmd->inrange = 0;

Legend:
Removed from v.1.22  
changed lines
  Added in v.1.23