about summary refs log tree commit diff
path: root/src/libsyntax/parse
diff options
context:
space:
mode:
authorYoungsoo Son <ysson83@gmail.com>2013-01-24 16:01:03 +0900
committerYoungsoo Son <ysson83@gmail.com>2013-01-24 16:07:04 +0900
commit4b2aa286d8448168e9077565ff17b7a6df4db105 (patch)
treeeb08ee30c76ceb95ab6dbacbbe5f4f175fac4570 /src/libsyntax/parse
parent07d0af151a5c2acf283b960eb34d769b0fb06c29 (diff)
downloadrust-4b2aa286d8448168e9077565ff17b7a6df4db105.tar.gz
rust-4b2aa286d8448168e9077565ff17b7a6df4db105.zip
Make `super` a keyword
Diffstat (limited to 'src/libsyntax/parse')
-rw-r--r--src/libsyntax/parse/token.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/parse/token.rs b/src/libsyntax/parse/token.rs
index 2136499f8f0..a8c0c074588 100644
--- a/src/libsyntax/parse/token.rs
+++ b/src/libsyntax/parse/token.rs
@@ -493,7 +493,7 @@ fn strict_keyword_table() -> HashMap<~str, ()> {
         ~"once",
         ~"priv", ~"pub", ~"pure",
         ~"ref", ~"return",
-        ~"struct",
+        ~"struct", ~"super",
         ~"true", ~"trait", ~"type",
         ~"unsafe", ~"use",
         ~"while"