about summary refs log tree commit diff
path: root/src/libsyntax/parse
diff options
context:
space:
mode:
authorTim Chevalier <chevalier@alum.wellesley.edu>2012-10-08 11:54:09 -0700
committerTim Chevalier <chevalier@alum.wellesley.edu>2012-10-08 11:58:54 -0700
commita33535e441dc5461fec0489069a1491367ad1c91 (patch)
tree6d8ea75744e7e14f5ceeace358869e0af1b67732 /src/libsyntax/parse
parent73ec5f09b072734f68b7f784f2343568bd4c3bd9 (diff)
downloadrust-a33535e441dc5461fec0489069a1491367ad1c91.tar.gz
rust-a33535e441dc5461fec0489069a1491367ad1c91.zip
Revert "Remove old auto_serialize2 code (needs snapshot)"
This reverts commit 0bd6da8a8c93143325cb45e8a074ccf7121ca168.
Diffstat (limited to 'src/libsyntax/parse')
-rw-r--r--src/libsyntax/parse/token.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libsyntax/parse/token.rs b/src/libsyntax/parse/token.rs
index dce4dc3bbc7..b63260997f7 100644
--- a/src/libsyntax/parse/token.rs
+++ b/src/libsyntax/parse/token.rs
@@ -4,6 +4,8 @@ use std::map::HashMap;
 
 #[auto_serialize]
 #[auto_deserialize]
+#[auto_serialize2]
+#[auto_deserialize2]
 enum binop {
     PLUS,
     MINUS,
@@ -19,6 +21,8 @@ enum binop {
 
 #[auto_serialize]
 #[auto_deserialize]
+#[auto_serialize2]
+#[auto_deserialize2]
 enum token {
     /* Expression-operator symbols. */
     EQ,
@@ -77,6 +81,8 @@ enum token {
 
 #[auto_serialize]
 #[auto_deserialize]
+#[auto_serialize2]
+#[auto_deserialize2]
 /// For interpolation during macro expansion.
 enum nonterminal {
     nt_item(@ast::item),