diff options
| author | Graydon Hoare <graydon@mozilla.com> | 2012-07-09 18:37:09 -0700 |
|---|---|---|
| committer | Graydon Hoare <graydon@mozilla.com> | 2012-07-09 18:42:06 -0700 |
| commit | 172bf3a03851fee9ddbc808c3a526744c138f767 (patch) | |
| tree | 9f6c92997f4545a1e5b4f3611b88c50ae2f51a13 /src/libsyntax/parse/parser.rs | |
| parent | f0fe08f1c81108750dd2a89f3d060df165912119 (diff) | |
| download | rust-172bf3a03851fee9ddbc808c3a526744c138f767.tar.gz rust-172bf3a03851fee9ddbc808c3a526744c138f767.zip | |
Back out recognition of caret for unsafe ptr. Decided to abandon #2826 mid way through.
Diffstat (limited to 'src/libsyntax/parse/parser.rs')
| -rw-r--r-- | src/libsyntax/parse/parser.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs index 67cc265f7a0..b61aa2d5d90 100644 --- a/src/libsyntax/parse/parser.rs +++ b/src/libsyntax/parse/parser.rs @@ -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 { |
