-
(First off, great crate!) With nano_rust.rs as reference, I wonder how to make the parser indicate that EOI is also possible when encountering some unexpected stuff right after valid input. Suppose I add "HMM" at the end of
Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
A similar exercise with the json.rs example, and with this input: "foo"
HMM Gives:
but "expected end of input" or similar would be more desirable. (Adding |
Beta Was this translation helpful? Give feedback.
-
Ah, it turns out that this was a minor bug in the implementation of |
Beta Was this translation helpful? Give feedback.
Ah, it turns out that this was a minor bug in the implementation of
end
, likely caused by an internal change made a few months ago. I've just fixed this in 36f8e8b and all should now be good :)