From d9e669ac06ecb55948bc6fa7a5ed568f746be4e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Wed, 27 Nov 2013 17:08:53 +0100 Subject: error msg shows wrong char --- eo_tokenizer.rl | 4 ++-- 1 file 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 */ } -- cgit v1.1-2-g2b99