]> Nishi Git Mirror - dataworks.git/commitdiff
better debug
authornishi <nishi@d4a5a174-5a4a-5b4b-b672-37683c10d7d5>
Thu, 23 May 2024 10:31:46 +0000 (10:31 +0000)
committernishi <nishi@d4a5a174-5a4a-5b4b-b672-37683c10d7d5>
Thu, 23 May 2024 10:31:46 +0000 (10:31 +0000)
git-svn-id: file:///raid/svn-main/nishi-dataworks/trunk@92 d4a5a174-5a4a-5b4b-b672-37683c10d7d5

Library/parser.c

index 0f10c588efb1f17d1dc1373dd870ca6c06a82ff4..222c61741d38c9f18feebe6be3e0e89d5a8a6b37 100644 (file)
@@ -118,8 +118,8 @@ struct __dw_token* __dw_parser_parse(const char* str) {
                                                comma = __dw_strcat(tmp, cbuf);
                                                free(tmp);
                                        } else if(c == 0 || c == ',') {
+                                                       printf("[%s]\n", comma);
                                                if(strlen(comma) > 0){
-                                                       printf("%s\n", comma);
                                                        j = 0;
                                                        if(token->token != NULL) {
                                                                for(j = 0; token->token[j] != NULL; j++)