summaryrefslogtreecommitdiffstats
path: root/eo_tokenizer.rl
diff options
context:
space:
mode:
Diffstat (limited to 'eo_tokenizer.rl')
-rw-r--r--eo_tokenizer.rl4
1 files changed, 2 insertions, 2 deletions
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;