From 7661d2dc74715fac839a5ba3b920851747f8cac1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Mon, 25 Nov 2013 22:55:30 +0100 Subject: fix some DBG and ERR messages --- eo_tokenizer.rl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/eo_tokenizer.rl b/eo_tokenizer.rl index aaccfdf..e8b0250 100644 --- a/eo_tokenizer.rl +++ b/eo_tokenizer.rl @@ -61,12 +61,12 @@ _eo_tokenizer_class_get(Eo_Tokenizer *toknz, char *p) action save_line { toknz->saved.line = toknz->current_line; - DBG("save[%d] %d", toknz->cs, toknz->current_line); + DBG("save line[%d] %d", toknz->cs, toknz->current_line); } action save_fpc { toknz->saved.tok = fpc; - DBG("save[%d] %p", toknz->cs, fpc); + DBG("save token[%d] %p %c", toknz->cs, fpc, *fpc); } action show_comment { @@ -226,7 +226,7 @@ eo_tokenizer_walk(Eo_Tokenizer *toknz, const char *source) if ( toknz->cs == %%{ write error; }%% ) { - ERR("wrong terminatison"); + ERR("wrong termination"); break; } -- cgit v1.1-2-g2b99