diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2013-11-25 22:56:26 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2013-11-25 22:56:26 +0100 |
commit | cf5a58c0cf6f0215b1f39459ce539b24f8a9a579 (patch) | |
tree | 99ffdd3816a18ee78c4611dad8a6cf1c1d5fbdbc | |
parent | 7661d2dc74715fac839a5ba3b920851747f8cac1 (diff) | |
download | eo_tokenizer-cf5a58c0cf6f0215b1f39459ce539b24f8a9a579.zip eo_tokenizer-cf5a58c0cf6f0215b1f39459ce539b24f8a9a579.tar.gz |
show error must set toknz->cs
-rw-r--r-- | eo_tokenizer.rl | 1 |
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 */ } |