prevent regions from escaping in ifaces; remove &r.T syntax

This commit is contained in:
Niko Matsakis
2012-07-18 11:01:54 -07:00
parent eb0a34c398
commit e0ea67a2a6
36 changed files with 411 additions and 130 deletions

View File

@@ -383,8 +383,7 @@ class parser {
let name =
alt copy self.token {
token::IDENT(sid, _) => {
if self.look_ahead(1u) == token::DOT || // backwards compat
self.look_ahead(1u) == token::BINOP(token::SLASH) {
if self.look_ahead(1u) == token::BINOP(token::SLASH) {
self.bump(); self.bump();
some(self.get_str(sid))
} else {