about summary refs log tree commit diff
path: root/src/libsyntax/parse/token.rs
diff options
context:
space:
mode:
authorAndrew Paseltiner <apaseltiner@gmail.com>2013-03-20 11:52:45 -0400
committerAndrew Paseltiner <apaseltiner@gmail.com>2013-03-22 06:30:59 -0400
commite2abecd3ab406ce447a8b23c8a7563e9c455f870 (patch)
treee1a2cd1af8878d1f4f37fb21e4c544d1131cd000 /src/libsyntax/parse/token.rs
parent6e883c730e0d6b07a8a94df30c681a292a031b18 (diff)
downloadrust-e2abecd3ab406ce447a8b23c8a7563e9c455f870.tar.gz
rust-e2abecd3ab406ce447a8b23c8a7563e9c455f870.zip
syntax: replace uses of old deriving attribute with new one
Diffstat (limited to 'src/libsyntax/parse/token.rs')
-rw-r--r--src/libsyntax/parse/token.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libsyntax/parse/token.rs b/src/libsyntax/parse/token.rs
index c41b3aec09b..5a774718b7d 100644
--- a/src/libsyntax/parse/token.rs
+++ b/src/libsyntax/parse/token.rs
@@ -24,7 +24,7 @@ use std::oldmap::HashMap;
 
 #[auto_encode]
 #[auto_decode]
-#[deriving_eq]
+#[deriving(Eq)]
 pub enum binop {
     PLUS,
     MINUS,
@@ -40,7 +40,7 @@ pub enum binop {
 
 #[auto_encode]
 #[auto_decode]
-#[deriving_eq]
+#[deriving(Eq)]
 pub enum Token {
     /* Expression-operator symbols. */
     EQ,
@@ -103,7 +103,7 @@ pub enum Token {
 
 #[auto_encode]
 #[auto_decode]
-#[deriving_eq]
+#[deriving(Eq)]
 /// For interpolation during macro expansion.
 pub enum nonterminal {
     nt_item(@ast::item),