Make BytePos 32-bit

This commit is contained in:
Seo Sanghyeon 2013-11-20 02:15:49 +09:00
parent c4e28ae068
commit 5e1e487624
5 changed files with 16 additions and 14 deletions

View file

@ -608,7 +608,7 @@ impl Parser {
token::GT => self.bump(),
token::BINOP(token::SHR) => self.replace_token(
token::GT,
self.span.lo + BytePos(1u),
self.span.lo + BytePos(1),
self.span.hi
),
_ => self.fatal(format!("expected `{}`, found `{}`",