From 7af9f4d36ef9194c225ac6e576ac46ea77d3f5c8 Mon Sep 17 00:00:00 2001 From: nishi Date: Thu, 23 May 2024 10:29:00 +0000 Subject: [PATCH] better debug git-svn-id: file:///raid/svn-main/nishi-dataworks/trunk@90 d4a5a174-5a4a-5b4b-b672-37683c10d7d5 --- Client/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Client/main.c b/Client/main.c index 0e003b7..ec56b77 100644 --- a/Client/main.c +++ b/Client/main.c @@ -54,7 +54,7 @@ void padleft(int leftpad, const char* str) { void print_recursive(struct __dw_token* token, int depth) { int i; for(i = 0; i < depth; i++) printf(" "); - printf("%d:%s\n", token->type, token->name == NULL ? "(null)" : token->name); + printf("%d:[%s]\n", token->type, token->name == NULL ? "(null)" : token->name); if(token->token != NULL) { for(i = 0; token->token[i] != NULL; i++) print_recursive(token->token[i], depth + 1); } -- 2.43.0