Skip to content

Commit ab9cf45

Browse files
committed
syntax: Remove 'of' and 'check' from keyword table
1 parent 8415515 commit ab9cf45

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/libsyntax/parse/token.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,6 @@ fn contextual_keyword_table() -> hashmap<~str, ()> {
386386
~"as",
387387
~"else",
388388
~"move",
389-
~"of",
390389
~"priv", ~"pub",
391390
~"self", ~"send", ~"static",
392391
~"use",
@@ -417,7 +416,7 @@ fn restricted_keyword_table() -> hashmap<~str, ()> {
417416
let keys = ~[
418417
~"again", ~"assert",
419418
~"break",
420-
~"check", ~"const", ~"copy",
419+
~"const", ~"copy",
421420
~"do", ~"drop",
422421
~"else", ~"enum", ~"export", ~"extern",
423422
~"fail", ~"false", ~"fn", ~"for",

0 commit comments

Comments
 (0)