X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;ds=sidebyside;f=obcl%2Fobcl.c;fp=obcl%2Fobcl.c;h=408a67ce19162db2df5bc5d911ad576d4b8eef34;hb=1ab607765c231924f642d27aa3ac3b9294844704;hp=a4b58eec2e9cc0f87bc5fdb889b42a9e6e8a0b06;hpb=37e2ef05d5e0ae2edec6f51a6c52f701fd0ce9fd;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);