Promote 'impl' from restricted keyword to strict

This commit is contained in:
Brian Anderson 2012-09-11 19:28:14 -07:00
parent 3d2a74a160
commit be1fdf983f
10 changed files with 18 additions and 19 deletions

View file

@ -416,7 +416,6 @@ fn restricted_keyword_table() -> HashMap<~str, ()> {
let keys = ~[
~"const", ~"copy",
~"fail", ~"fn",
~"impl",
~"unsafe"
];
for keys.each |word| {
@ -434,7 +433,7 @@ fn strict_keyword_table() -> HashMap<~str, ()> {
~"do", ~"drop",
~"else", ~"enum", ~"export", ~"extern",
~"false", ~"for",
~"if",
~"if", ~"impl",
~"let", ~"log", ~"loop",
~"match", ~"mod", ~"move", ~"mut",
~"priv", ~"pub", ~"pure",