Given this grammar:
The generated grammar code has a syntax error saying 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.