X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=obcl%2Fobcl.c;h=408a67ce19162db2df5bc5d911ad576d4b8eef34;hb=573aaf7edeab41ee8f50400b0ecb952a5527d067;hp=a4b58eec2e9cc0f87bc5fdb889b42a9e6e8a0b06;hpb=99fd65baf0b14356812ddc6881fd3fe2b996bd3b;p=chaz%2Fopenbox 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);