We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ddb2126 commit 8367f69Copy full SHA for 8367f69
peg-macros/tokens.rs
@@ -43,7 +43,7 @@ impl FlatTokenStream {
43
for tree in g.stream() {
44
flatten(tokens, tree);
45
}
46
- tokens.push(Token::End(g.delimiter(), g.span()));
+ tokens.push(Token::End(g.delimiter(), g.span_close()));
47
48
let end_pos = tokens.len();
49
tokens[start_pos] = Token::Begin(g, end_pos);
0 commit comments