mozilla/rust — pull request #7005 by dotdash (2013-06-08 01:34:55+00:00)
Title: Lexer: Fix offset handling in get_str_from()

As the comment said, the subtraction is bogus for multibyte characters.
Fortunately, we can just use last_pos instead of pos to get the correct
position without any subtraction hackery.