auto merge of #12849 : nick29581/rust/doubles, r=alexcrichton
This commit is contained in:
commit
05975a4928
1 changed files with 1 additions and 0 deletions
|
@ -770,6 +770,7 @@ impl Parser {
|
||||||
next: token::Token,
|
next: token::Token,
|
||||||
lo: BytePos,
|
lo: BytePos,
|
||||||
hi: BytePos) {
|
hi: BytePos) {
|
||||||
|
self.last_span = mk_sp(self.span.lo, lo);
|
||||||
self.token = next;
|
self.token = next;
|
||||||
self.span = mk_sp(lo, hi);
|
self.span = mk_sp(lo, hi);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue