We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Given this grammar:
ox80_oxBF <- [\200-\277]
The generated grammar code has a syntax error saying more than one character in rune literal:
more than one character in rune literal
var g = &grammar{ rules: []*rule{ { name: "ox80_oxBF", pos: position{line: 1, col: 1, offset: 0}, expr: &charClassMatcher{ pos: position{line: 1, col: 14, offset: 13}, val: "[\\200-\\277]", ranges: []rune{'\u0080', '┬┐'}, // <- error here ignoreCase: false, inverted: false, }, }, }, }
Thank you for your work.
The text was updated successfully, but these errors were encountered:
I got this:
{ name: "ox80_oxBF", expr: &charClassMatcher{ val: "[\\200-\\277]", ranges: []rune{'\u0080', '¿'}, ignoreCase: false, inverted: false, }, },
It seems ok:
ord('¿') 191
ord('\277') 191
Sorry, something went wrong.
@fy0 Seems like something spooky is going on... I am on Windows using the latest release. What are you on?
Same, on windows 11.
No branches or pull requests
Given this grammar:
The generated grammar code has a syntax error saying
more than one character in rune literal
:Thank you for your work.
The text was updated successfully, but these errors were encountered: