version 1.15, 2012/03/03 19:15:00 |
version 1.16, 2014/01/08 21:40:25 |
|
|
int i; |
int i; |
action *p; |
action *p; |
|
|
rules_used = CALLOC(nrules, sizeof(short)); |
rules_used = calloc(nrules, sizeof(short)); |
if (rules_used == NULL) no_space(); |
if (rules_used == NULL) no_space(); |
|
|
for (i = 0; i < nstates; ++i) |
for (i = 0; i < nstates; ++i) |
|
|
while (p) |
while (p) |
{ |
{ |
q = p->next; |
q = p->next; |
FREE(p); |
free(p); |
p = q; |
p = q; |
} |
} |
} |
} |
|
|
for (i = 0; i < nstates; i++) |
for (i = 0; i < nstates; i++) |
free_action_row(parser[i]); |
free_action_row(parser[i]); |
|
|
FREE(parser); |
free(parser); |
} |
} |