diff options
| author | bors <bors@rust-lang.org> | 2013-05-05 11:12:37 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2013-05-05 11:12:37 -0700 |
| commit | 6e6a4be19d8e6a2cedc66be6cc602db8a1e71acd (patch) | |
| tree | 53802b0ed10b2e711fab87d0079c180d2b8d4046 /src/libsyntax/parse/common.rs | |
| parent | 063851ffa1b8388a0b70446c0209af16264e8181 (diff) | |
| parent | aca2a00fb4cf2ec182cb7802194813c5dd6bbf27 (diff) | |
| download | rust-6e6a4be19d8e6a2cedc66be6cc602db8a1e71acd.tar.gz rust-6e6a4be19d8e6a2cedc66be6cc602db8a1e71acd.zip | |
auto merge of #6208 : sanxiyn/rust/accurate-span, r=sanxiyn
Diffstat (limited to 'src/libsyntax/parse/common.rs')
| -rw-r--r-- | src/libsyntax/parse/common.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/parse/common.rs b/src/libsyntax/parse/common.rs index 01f80c032e9..1df6860fede 100644 --- a/src/libsyntax/parse/common.rs +++ b/src/libsyntax/parse/common.rs @@ -122,7 +122,7 @@ pub impl Parser { fn parse_path_list_ident(&self) -> ast::path_list_ident { let lo = self.span.lo; let ident = self.parse_ident(); - let hi = self.span.hi; + let hi = self.last_span.hi; spanned(lo, hi, ast::path_list_ident_ { name: ident, id: self.get_id() }) } |
