about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2012-09-04 15:43:46 -0700
committerBrian Anderson <banderson@mozilla.com>2012-09-04 15:43:46 -0700
commitab9cf45a7ce839cee58e745d8b3472db2e707731 (patch)
tree1a32f4e7a47b5aa1233ca4606de79ca4d431ef03 /src
parent8415515cbee679ddd2a17bbb152da10f1d947359 (diff)
downloadrust-ab9cf45a7ce839cee58e745d8b3472db2e707731.tar.gz
rust-ab9cf45a7ce839cee58e745d8b3472db2e707731.zip
syntax: Remove 'of' and 'check' from keyword table
Diffstat (limited to 'src')
-rw-r--r--src/libsyntax/parse/token.rs3
1 files changed, 1 insertions, 2 deletions
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",