From ab9cf45a7ce839cee58e745d8b3472db2e707731 Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Tue, 4 Sep 2012 15:43:46 -0700 Subject: syntax: Remove 'of' and 'check' from keyword table --- src/libsyntax/parse/token.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/libsyntax/parse') diff --git a/src/libsyntax/parse/token.rs b/src/libsyntax/parse/token.rs index 5c71aaf2d29..1422c2c8b90 100644 --- a/src/libsyntax/parse/token.rs +++ b/src/libsyntax/parse/token.rs @@ -386,7 +386,6 @@ fn contextual_keyword_table() -> hashmap<~str, ()> { ~"as", ~"else", ~"move", - ~"of", ~"priv", ~"pub", ~"self", ~"send", ~"static", ~"use", @@ -417,7 +416,7 @@ fn restricted_keyword_table() -> hashmap<~str, ()> { let keys = ~[ ~"again", ~"assert", ~"break", - ~"check", ~"const", ~"copy", + ~"const", ~"copy", ~"do", ~"drop", ~"else", ~"enum", ~"export", ~"extern", ~"fail", ~"false", ~"fn", ~"for", -- cgit 1.4.1-3-g733a5