summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--eo_tokenizer.rl1
1 files changed, 1 insertions, 0 deletions
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 */
}