[BACK]Return to bc.y CVS log [TXT][DIR] Up to [local] / src / usr.bin / bc

Diff for /src/usr.bin/bc/bc.y between version 1.1 and 1.2

version 1.1, 2003/09/25 19:32:44 version 1.2, 2003/09/26 07:23:06
Line 607 
Line 607 
         grow();          grow();
         instructions[current].index = ALLOC_STRING;          instructions[current].index = ALLOC_STRING;
         instructions[current].u.astr = strdup(str);          instructions[current].u.astr = strdup(str);
           if (instructions[current].u.astr == NULL)
                   err(1, "cannot allocate string");
         return current++;          return current++;
 }  }
   

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2