Create code string with initial size of 1000 instead of 0.
This commit is contained in:
parent
b8824952cb
commit
62d4624ea3
|
@ -162,7 +162,7 @@ com_init(c, filename)
|
|||
struct compiling *c;
|
||||
char *filename;
|
||||
{
|
||||
if ((c->c_code = newsizedstringobject((char *)NULL, 0)) == NULL)
|
||||
if ((c->c_code = newsizedstringobject((char *)NULL, 1000)) == NULL)
|
||||
goto fail_3;
|
||||
if ((c->c_consts = newlistobject(0)) == NULL)
|
||||
goto fail_2;
|
||||
|
|
Loading…
Reference in New Issue