From cf5a58c0cf6f0215b1f39459ce539b24f8a9a579 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Mon, 25 Nov 2013 22:56:26 +0100 Subject: show error must set toknz->cs --- eo_tokenizer.rl | 1 + 1 file changed, 1 insertion(+) diff --git a/eo_tokenizer.rl b/eo_tokenizer.rl index e8b0250..2732136 100644 --- a/eo_tokenizer.rl +++ b/eo_tokenizer.rl @@ -91,6 +91,7 @@ _eo_tokenizer_class_get(Eo_Tokenizer *toknz, char *p) *d = '\0'; ERR("error nesting:%d line:%d : %s", toknz->current_nesting, toknz->current_line, buf); + toknz->cs = eo_tokenizer_error; fbreak; /* necessary to stop scanners */ } -- cgit v1.1-2-g2b99