Open syheliel opened 4 weeks ago
Looks like a whitespace issue, because the parser stopped short just before a blank character. Maybe you forget to code whitespace in your grammar? You might try @literalws = right, or @literalws = both.
You might want to check out the sections on whitespace and, in particular, on in significant whitespace in the manual:
If this is still an issue, you might want to attach your complete grammar or at least the EBNF-statements that are supposed to capture constructs like "() -> (f32,i32)", so I can give it a try.
Thanks, I find the problem is that I should use "
instead of `
to mark a literal string. I may have some other try to check if there are other problems related to whitespace before closing the issue :)
I have following rules:
I can't let it match:
here is the error:
The directive is: