From: nishi Date: Thu, 23 May 2024 10:37:30 +0000 (+0000) Subject: i love parser X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=5613b1c46fd7d18ca55c12c7674a7cce708ec8ed;p=dataworks.git i love parser git-svn-id: file:///raid/svn-main/nishi-dataworks/trunk@95 d4a5a174-5a4a-5b4b-b672-37683c10d7d5 --- diff --git a/Library/parser.c b/Library/parser.c index 8a4151f..d97a768 100644 --- a/Library/parser.c +++ b/Library/parser.c @@ -118,7 +118,7 @@ struct __dw_token* __dw_parser_parse(const char* str) { comma = __dw_strcat(tmp, cbuf); free(tmp); } else if(c == 0 || c == ',') { - if(strlen(comma) > 0){ + if(strlen(comma) > 0) { j = 0; if(token->token != NULL) { for(j = 0; token->token[j] != NULL; j++)