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