Skip to content

Commit

Permalink
auto merge of #5434 : apasel422/rust/deriving, r=nikomatsakis
Browse files Browse the repository at this point in the history
This is the first step in refactoring the deriving code in libsyntax. No code is changed, just rearranged.
  • Loading branch information
bors committed Mar 20, 2013
2 parents c202430 + 3042321 commit 63a292f
Show file tree
Hide file tree
Showing 7 changed files with 1,358 additions and 1,271 deletions.
8 changes: 4 additions & 4 deletions src/libsyntax/ext/base.rs
@@ -1,4 +1,4 @@
// Copyright 2012 The Rust Project Developers. See the COPYRIGHT
// Copyright 2012-2013 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
Expand Down Expand Up @@ -153,13 +153,13 @@ pub fn syntax_expander_table() -> SyntaxEnv {
ext::deriving::expand_meta_deriving)));
syntax_expanders.insert(@~"deriving_eq",
@SE(ItemDecorator(
ext::deriving::expand_deriving_eq)));
ext::deriving::eq::expand_deriving_eq)));
syntax_expanders.insert(@~"deriving_iter_bytes",
@SE(ItemDecorator(
ext::deriving::expand_deriving_iter_bytes)));
ext::deriving::iter_bytes::expand_deriving_iter_bytes)));
syntax_expanders.insert(@~"deriving_clone",
@SE(ItemDecorator(
ext::deriving::expand_deriving_clone)));
ext::deriving::clone::expand_deriving_clone)));

// Quasi-quoting expanders
syntax_expanders.insert(@~"quote_tokens",
Expand Down

0 comments on commit 63a292f

Please sign in to comment.