mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 15:23:46 +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 {
|
token::UNDERSCORE {
|
||||||
p.bump(); some(ast::vstore_fixed(none))
|
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)))
|
p.bump(); some(ast::vstore_fixed(some(i as uint)))
|
||||||
}
|
}
|
||||||
token::BINOP(token::AND) {
|
token::BINOP(token::AND) {
|
||||||
|
Loading…
Reference in New Issue
Block a user