version 1.24, 2000/06/23 16:21:43 |
version 1.25, 2000/06/23 16:23:26 |
|
|
Lst_Init(&gn->children); |
Lst_Init(&gn->children); |
Lst_Init(&gn->successors); |
Lst_Init(&gn->successors); |
Lst_Init(&gn->preds); |
Lst_Init(&gn->preds); |
Lst_Init(&gn->context); |
SymTable_Init(&gn->context); |
gn->lineno = 0; |
gn->lineno = 0; |
gn->fname = NULL; |
gn->fname = NULL; |
Lst_Init(&gn->commands); |
Lst_Init(&gn->commands); |
|
|
Lst_Destroy(&gn->children, NOFREE); |
Lst_Destroy(&gn->children, NOFREE); |
Lst_Destroy(&gn->successors, NOFREE); |
Lst_Destroy(&gn->successors, NOFREE); |
Lst_Destroy(&gn->preds, NOFREE); |
Lst_Destroy(&gn->preds, NOFREE); |
Lst_Destroy(&gn->context, NOFREE); |
SymTable_Destroy(&gn->context); |
Lst_Destroy(&gn->commands, NOFREE); |
Lst_Destroy(&gn->commands, NOFREE); |
free(gn); |
free(gn); |
} |
} |