Make BytePos 32-bit
This commit is contained in:
parent
c4e28ae068
commit
5e1e487624
5 changed files with 16 additions and 14 deletions
|
@ -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 `{}`",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue