diff options
author | FreeArtMan <dos21h@gmail.com> | 2019-08-17 13:26:00 +0100 |
---|---|---|
committer | FreeArtMan <dos21h@gmail.com> | 2019-08-17 13:26:00 +0100 |
commit | 700b5bc2b24bf9fd8e69f0586739c692be0dc2cb (patch) | |
tree | 12a966c2cd9627de71a670d213e330c35a16f551 /libcmd/cmd_parse.ragel | |
parent | 5483357fa0c2cceb4ed449bd14874c320ccb90a3 (diff) | |
download | ihe-700b5bc2b24bf9fd8e69f0586739c692be0dc2cb.tar.gz ihe-700b5bc2b24bf9fd8e69f0586739c692be0dc2cb.zip |
updated lib, compiles
Diffstat (limited to 'libcmd/cmd_parse.ragel')
-rw-r--r-- | libcmd/cmd_parse.ragel | 6 |
1 files changed, 3 insertions, 3 deletions
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 |