rustsyntax: i64, not int
This commit is contained in:
parent
f34eae8802
commit
d65df5d4d4
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue