diff options
| author | Marius Nita <marius@cs.pdx.edu> | 2003-04-15 00:13:03 +0000 |
|---|---|---|
| committer | Marius Nita <marius@cs.pdx.edu> | 2003-04-15 00:13:03 +0000 |
| commit | 1ab607765c231924f642d27aa3ac3b9294844704 (patch) | |
| tree | 0de67f67b98f368df2bc74e943c75a387a290a87 /obcl/obcl.c | |
| parent | 37e2ef05d5e0ae2edec6f51a6c52f701fd0ce9fd (diff) | |
node processing code/macros, and other fixes
Diffstat (limited to 'obcl/obcl.c')
| -rw-r--r-- | obcl/obcl.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/obcl/obcl.c b/obcl/obcl.c index a4b58eec..408a67ce 100644 --- a/obcl/obcl.c +++ b/obcl/obcl.c @@ -57,24 +57,24 @@ void cl_tree_print(GList *tree, int depth) switch(tmp->type) { case CL_ID: - printf("--ID-- %s\n", tmp->u.str); + printf("[ID] '%s'\n", tmp->u.str); break; case CL_STR: - printf("--STR-- %s\n", tmp->u.str); + printf("[STR] '%s'\n", tmp->u.str); break; case CL_NUM: - printf("--NUM-- %.2f\n", tmp->u.num); + printf("[NUM] %.2f\n", tmp->u.num); break; case CL_LIST: - printf("--LIST-- %s\n", tmp->u.lb.id); + printf("[LIST] '%s'\n", tmp->u.lb.id); cl_tree_print(tmp->u.lb.list, depth+2); break; case CL_BLOCK: - printf("--BLOCK-- %s\n", tmp->u.lb.id); + printf("[BLOCK] '%s'\n", tmp->u.lb.id); cl_tree_print(tmp->u.lb.block, depth+2); break; case CL_LISTBLOCK: - printf("--LISTBLOCK-- %s\n", tmp->u.lb.id); + printf("[LISTBLOCK] %s\n", tmp->u.lb.id); cl_tree_print(tmp->u.lb.list, depth+2); printf("\n"); cl_tree_print(tmp->u.lb.block, depth+2); |
