diff options
| -rw-r--r-- | eo_tokenizer.h | 2 | ||||
| -rw-r--r-- | eo_tokenizer.rl | 4 | ||||
| -rw-r--r-- | main.c | 2 | 
3 files changed, 4 insertions, 4 deletions
| diff --git a/eo_tokenizer.h b/eo_tokenizer.h index 3186999..5332ad6 100644 --- a/eo_tokenizer.h +++ b/eo_tokenizer.h @@ -127,7 +127,7 @@ typedef struct _eo_tokenizer  } Eo_Tokenizer; -Eo_Tokenizer* eo_tokenizer_get(); +Eo_Tokenizer* eo_tokenizer_get(void);  Eina_Bool eo_tokenizer_walk(Eo_Tokenizer *toknz, const char *source); diff --git a/eo_tokenizer.rl b/eo_tokenizer.rl index a01ed32..355c524 100644 --- a/eo_tokenizer.rl +++ b/eo_tokenizer.rl @@ -52,7 +52,7 @@ _eo_tokenizer_token_get(Eo_Tokenizer *toknz, char *p)     action save_fpc {        toknz->saved.tok = fpc; -      DBG("save[%d] %d", toknz->cs, fpc); +      DBG("save[%d] %p", toknz->cs, fpc);     }     action show_comment { @@ -197,7 +197,7 @@ eo_tokenizer_walk(Eo_Tokenizer *toknz, const char *source)  }  Eo_Tokenizer* -eo_tokenizer_get() +eo_tokenizer_get(void)  {     Eo_Tokenizer *toknz = calloc(1, sizeof(Eo_Tokenizer));     if (!toknz) return NULL; @@ -31,7 +31,7 @@ int main(int argc, char **argv)          exit(EXIT_FAILURE);       } -   toknz = eo_tokenizer_get(fpath); +   toknz = eo_tokenizer_get();     if (!toknz)       {          ERR("can't create eo_tokenizer"); | 
