mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
rustsyntax: i64, not int
This commit is contained in:
parent
f34eae8802
commit
d65df5d4d4
@ -706,7 +706,7 @@ fn maybe_parse_vstore(p: parser) -> option<ast::vstore> {
|
||||
token::UNDERSCORE {
|
||||
p.bump(); some(ast::vstore_fixed(none))
|
||||
}
|
||||
token::LIT_INT(i, ast::ty_i) if i >= 0 {
|
||||
token::LIT_INT(i, ast::ty_i) if i >= 0i64 {
|
||||
p.bump(); some(ast::vstore_fixed(some(i as uint)))
|
||||
}
|
||||
token::BINOP(token::AND) {
|
||||
|
Loading…
Reference in New Issue
Block a user