about summary refs log tree commit diff
path: root/src/libsyntax/parse/parser.rs
diff options
context:
space:
mode:
authorSeo Sanghyeon <sanxiyn@gmail.com>2013-11-20 02:15:49 +0900
committerSeo Sanghyeon <sanxiyn@gmail.com>2013-11-20 16:51:25 +0900
commit5e1e487624a134e99371fff073862c90da479755 (patch)
tree0be3e812df267b8bbe5fda86eefa2457841ce9d3 /src/libsyntax/parse/parser.rs
parentc4e28ae06842c2066fadb70a1a4f3dc3f1e26e3c (diff)
downloadrust-5e1e487624a134e99371fff073862c90da479755.tar.gz
rust-5e1e487624a134e99371fff073862c90da479755.zip
Make BytePos 32-bit
Diffstat (limited to 'src/libsyntax/parse/parser.rs')
-rw-r--r--src/libsyntax/parse/parser.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs
index 2ea6878f4a3..2a270b392bc 100644
--- a/src/libsyntax/parse/parser.rs
+++ b/src/libsyntax/parse/parser.rs
@@ -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 `{}`",