6 if (z == NULL)
return NULL;
8 if (z->
p == NULL)
goto error;
13 if (z->
S == NULL)
goto error;
15 for (
i = 0;
i < S_size;
i++)
18 if (z->
S[
i] == NULL)
goto error;
24 z->
I = (
int *)
calloc(I_size,
sizeof(
int));
25 if (z->
I == NULL)
goto error;
36 if (z == NULL)
return;
40 for (
i = 0;
i < S_size;
i++)
struct SN_env * SN_create_env(int S_size, int I_size)
int SN_set_current(struct SN_env *z, int size, const symbol *s)
void SN_close_env(struct SN_env *z, int S_size)
void err(int eval, const char *fmt,...)
static pg_noinline void Size size
int replace_s(struct SN_env *z, int c_bra, int c_ket, int s_size, const symbol *s, int *adjptr)