about summary refs log tree commit diff
path: root/src/libsyntax
diff options
context:
space:
mode:
authorJohn Clements <clements@racket-lang.org>2014-07-06 16:02:48 -0700
committerJohn Clements <clements@racket-lang.org>2014-07-08 15:15:46 -0700
commit6007797ed6f712576bccac799d0fc79a2eb61ae7 (patch)
treed34f09717a583c61b284314275e565119fa1b3c0 /src/libsyntax
parentc1b8b3c35c1e59c475412864c230491843b52ab1 (diff)
downloadrust-6007797ed6f712576bccac799d0fc79a2eb61ae7.tar.gz
rust-6007797ed6f712576bccac799d0fc79a2eb61ae7.zip
replace idents with names
Diffstat (limited to 'src/libsyntax')
-rw-r--r--src/libsyntax/parse/token.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libsyntax/parse/token.rs b/src/libsyntax/parse/token.rs
index dc0be39c42c..55db3482a61 100644
--- a/src/libsyntax/parse/token.rs
+++ b/src/libsyntax/parse/token.rs
@@ -405,6 +405,11 @@ macro_rules! declare_special_idents_and_keywords {(
         $( pub static $si_static: Ident = Ident { name: $si_name, ctxt: 0 }; )*
     }
 
+    pub mod special_names {
+        use ast::Name;
+        $( pub static $si_static: Name =  $si_name; )*
+    }
+
     /**
      * All the valid words that have meaning in the Rust language.
      *