From 700b5bc2b24bf9fd8e69f0586739c692be0dc2cb Mon Sep 17 00:00:00 2001 From: FreeArtMan Date: Sat, 17 Aug 2019 13:26:00 +0100 Subject: updated lib, compiles --- libcmd/cmd_parse.ragel | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libcmd/cmd_parse.ragel') diff --git a/libcmd/cmd_parse.ragel b/libcmd/cmd_parse.ragel index 482ad8d..0775802 100644 --- a/libcmd/cmd_parse.ragel +++ b/libcmd/cmd_parse.ragel @@ -5,8 +5,8 @@ #define TADD(T,S,E,SZ) {cmd_tok_t *t=cmd_tok_create(S,E,SZ,T);cmd_tok_add(tl,t);tl=tl->next;} //#define TADD(T,S,E) -#define PR_TK_DBG(S) printf(S);fwrite(ts,1,te-ts,stdout);printf("\n"); -//#define PR_TK_DBG(S) ; +//#define PR_TK_DBG(S) printf(S);fwrite(ts,1,te-ts,stdout);printf("\n"); +#define PR_TK_DBG(S) ; char *new_string( const char *start, const char *end ) { @@ -73,7 +73,7 @@ int parse_cmd( cmd_tok_t *tl, const char *str, size_t str_size ) /*save for cmd_begin state*/ //char *ts_cb=0, *te_cb=0; - printf("PE:%s %02x\n",pe,(unsigned char)*pe); + //printf("PE:%s %02x\n",pe,(unsigned char)*pe); /* variables used in state machine -- cgit v1.2.3