Make BytePos 32-bit
This commit is contained in:
@@ -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 `{}`",
|
||||
|
||||
Reference in New Issue
Block a user