summaryrefslogtreecommitdiff
path: root/obcl/obcl.c
diff options
context:
space:
mode:
Diffstat (limited to 'obcl/obcl.c')
-rw-r--r--obcl/obcl.c12
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);