]> git.lizzy.rs Git - rust.git/commit
Parser: fix PatIdent span bug
authorPhil Dawes <phil@phildawes.net>
Fri, 4 Jul 2014 20:46:39 +0000 (21:46 +0100)
committerPhil Dawes <phil@phildawes.net>
Fri, 4 Jul 2014 20:54:42 +0000 (21:54 +0100)
commit9deeaefdbb8ffeec69439e271a97f4cce617da20
treea2e108c2bfa54d8ff19777893717422b35ceee9c
parent25e8b6ed9c9cf60448eb95a0e8a42330ed44f479
Parser: fix PatIdent span bug

Fix small bug introduced in e38cb972dcf: PatIdent span was incorrect
because self.last_span was being used before the ident token was
parsed.
src/libsyntax/parse/parser.rs