diff options
Diffstat (limited to 'src/libsyntax/parse')
| -rw-r--r-- | src/libsyntax/parse/token.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libsyntax/parse/token.rs b/src/libsyntax/parse/token.rs index a96b2be6c09..6f756c946a4 100644 --- a/src/libsyntax/parse/token.rs +++ b/src/libsyntax/parse/token.rs @@ -415,7 +415,6 @@ fn restricted_keyword_table() -> HashMap<~str, ()> { ~"fail", ~"fn", ~"impl", ~"priv", ~"pub", - ~"return", ~"struct", ~"unsafe" ]; @@ -438,7 +437,7 @@ fn strict_keyword_table() -> HashMap<~str, ()> { ~"let", ~"log", ~"loop", ~"match", ~"mod", ~"move", ~"mut", ~"pure", - ~"ref", + ~"ref", ~"return", ~"true", ~"trait", ~"type", ~"unchecked", ~"use", ~"while" |
