about summary refs log tree commit diff
path: root/src/libsyntax/parse
diff options
context:
space:
mode:
authorJohn Gallagher <jgallagher@bignerdranch.com>2014-10-07 22:17:54 -0400
committerJohn Gallagher <jgallagher@bignerdranch.com>2014-10-07 22:17:54 -0400
commit1426f5834c96234bc1998921e889cfc5ca4893c8 (patch)
tree2220ab683e8e822908ad38951eae752a165b341b /src/libsyntax/parse
parent8881c3524b33d45fd632331d51b8de5e9b104ad9 (diff)
downloadrust-1426f5834c96234bc1998921e889cfc5ca4893c8.tar.gz
rust-1426f5834c96234bc1998921e889cfc5ca4893c8.zip
Add `abstract`, `final`, and `override` to reserved keywords
Diffstat (limited to 'src/libsyntax/parse')
-rw-r--r--src/libsyntax/parse/token.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libsyntax/parse/token.rs b/src/libsyntax/parse/token.rs
index a8c827439cc..7cc78891d91 100644
--- a/src/libsyntax/parse/token.rs
+++ b/src/libsyntax/parse/token.rs
@@ -520,6 +520,9 @@ declare_special_idents_and_keywords! {
         (54,                         Unsized,    "unsized");
         (55,                         Yield,      "yield");
         (56,                         Do,         "do");
+        (57,                         Abstract,   "abstract");
+        (58,                         Final,      "final");
+        (59,                         Override,   "override");
     }
 }