summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--eo_tokenizer.rl4
1 files changed, 2 insertions, 2 deletions
diff --git a/eo_tokenizer.rl b/eo_tokenizer.rl
index 86e3b30..3a10e8d 100644
--- a/eo_tokenizer.rl
+++ b/eo_tokenizer.rl
@@ -136,8 +136,8 @@ _eo_tokenizer_accessor_get(Eo_Tokenizer *toknz, Eo_Accessor_Type type)
*d++ = *s;
}
*d = '\0';
- ERR("error nesting:%d line:%d : %s",
- toknz->current_nesting, toknz->current_line, buf);
+ ERR("error n:%d l:%d c:'%c': %s",
+ toknz->current_nesting, toknz->current_line, *fpc, buf);
toknz->cs = eo_tokenizer_error;
fbreak; /* necessary to stop scanners */
}