Skip to content

Commit

Permalink
Update last_span in replace_token
Browse files Browse the repository at this point in the history
  • Loading branch information
nrc committed Mar 12, 2014
1 parent 1835667 commit 0d80de0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/libsyntax/parse/parser.rs
Expand Up @@ -770,6 +770,7 @@ impl Parser {
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);
}
Expand Down

5 comments on commit 0d80de0

@bors
Copy link
Contributor

@bors bors commented on 0d80de0 Mar 13, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

saw approval from alexcrichton
at nrc@0d80de0

@bors
Copy link
Contributor

@bors bors commented on 0d80de0 Mar 13, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging nick29581/rust/doubles = 0d80de0 into auto

@bors
Copy link
Contributor

@bors bors commented on 0d80de0 Mar 13, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nick29581/rust/doubles = 0d80de0 merged ok, testing candidate = 05975a4

@bors
Copy link
Contributor

@bors bors commented on 0d80de0 Mar 13, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fast-forwarding master to auto = 05975a4

Please sign in to comment.