Skip to content

Commit 54867d4

Browse files
committed
---
yaml --- r: 30586 b: refs/heads/incoming c: d0d8b7f h: refs/heads/master v: v3
1 parent 8631269 commit 54867d4

File tree

3 files changed

+3
-10
lines changed

3 files changed

+3
-10
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ refs/heads/try: d324a424d8f84b1eb049b12cf34182bda91b0024
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: d0c6ce338884ee21843f4b40bf6bf18d222ce5df
9-
refs/heads/incoming: 2cdb23bbc08fba2f5dc7b0dcc79983fc02e32960
9+
refs/heads/incoming: d0d8b7fe6491d539254d281f39a6c0aa0261e42d
1010
refs/heads/dist-snap: 2f32a1581f522e524009138b33b1c7049ced668d
1111
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1212
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/incoming/src/libsyntax/parse/parser.rs

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -926,8 +926,6 @@ impl parser {
926926
_ => { /* fallthrough */ }
927927
}
928928
return pexpr(self.parse_fn_expr(proto));
929-
} else if self.eat_keyword(~"unchecked") {
930-
return pexpr(self.parse_block_expr(lo, unchecked_blk));
931929
} else if self.eat_keyword(~"unsafe") {
932930
return pexpr(self.parse_block_expr(lo, unsafe_blk));
933931
} else if self.token == token::LBRACKET {
@@ -2210,12 +2208,7 @@ impl parser {
22102208
}
22112209

22122210
let lo = self.span.lo;
2213-
if self.eat_keyword(~"unchecked") {
2214-
self.expect(token::LBRACE);
2215-
let {inner, next} = maybe_parse_inner_attrs_and_next(self,
2216-
parse_attrs);
2217-
return (inner, self.parse_block_tail_(lo, unchecked_blk, next));
2218-
} else if self.eat_keyword(~"unsafe") {
2211+
if self.eat_keyword(~"unsafe") {
22192212
self.expect(token::LBRACE);
22202213
let {inner, next} = maybe_parse_inner_attrs_and_next(self,
22212214
parse_attrs);

branches/incoming/src/libsyntax/parse/token.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ fn strict_keyword_table() -> HashMap<~str, ()> {
439439
~"ref", ~"return",
440440
~"struct",
441441
~"true", ~"trait", ~"type",
442-
~"unchecked", ~"use",
442+
~"use",
443443
~"while"
444444
];
445445
for keys.each |word| {

0 commit comments

Comments
 (0)