Back out recognition of caret for unsafe ptr. Decided to abandon #2826 mid way through.

This commit is contained in:
Graydon Hoare 2012-07-09 18:37:09 -07:00
parent f0fe08f1c8
commit 172bf3a038
1 changed files with 1 additions and 2 deletions

View File

@ -503,8 +503,7 @@ class parser {
}
mt { ty_uniq(mt) }
}
} else if self.token == token::BINOP(token::STAR) ||
self.token == token::BINOP(token::CARET) {
} else if self.token == token::BINOP(token::STAR) {
self.bump();
ty_ptr(self.parse_mt())
} else if self.token == token::LBRACE {