auto merge of #12849 : nick29581/rust/doubles, r=alexcrichton

This commit is contained in:
bors 2014-03-13 07:11:41 -07:00
commit 05975a4928

View File

@ -770,6 +770,7 @@ pub fn replace_token(&mut self,
next: token::Token,
lo: BytePos,
hi: BytePos) {
self.last_span = mk_sp(self.span.lo, lo);
self.token = next;
self.span = mk_sp(lo, hi);
}