Return to bc.y CVS log | Up to [local] / src / usr.bin / bc |
version 1.1, 2003/09/25 19:32:44 | version 1.2, 2003/09/26 07:23:06 | ||
---|---|---|---|
|
|
||
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++; | ||
} | } | ||