Skip to content

Commit 63a292f

Browse files
committed
auto merge of #5434 : apasel422/rust/deriving, r=nikomatsakis
This is the first step in refactoring the deriving code in libsyntax. No code is changed, just rearranged.
2 parents c202430 + 3042321 commit 63a292f

File tree

7 files changed

+1358
-1271
lines changed

7 files changed

+1358
-1271
lines changed

src/libsyntax/ext/base.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2012 The Rust Project Developers. See the COPYRIGHT
1+
// Copyright 2012-2013 The Rust Project Developers. See the COPYRIGHT
22
// file at the top-level directory of this distribution and at
33
// http://rust-lang.org/COPYRIGHT.
44
//
@@ -153,13 +153,13 @@ pub fn syntax_expander_table() -> SyntaxEnv {
153153
ext::deriving::expand_meta_deriving)));
154154
syntax_expanders.insert(@~"deriving_eq",
155155
@SE(ItemDecorator(
156-
ext::deriving::expand_deriving_eq)));
156+
ext::deriving::eq::expand_deriving_eq)));
157157
syntax_expanders.insert(@~"deriving_iter_bytes",
158158
@SE(ItemDecorator(
159-
ext::deriving::expand_deriving_iter_bytes)));
159+
ext::deriving::iter_bytes::expand_deriving_iter_bytes)));
160160
syntax_expanders.insert(@~"deriving_clone",
161161
@SE(ItemDecorator(
162-
ext::deriving::expand_deriving_clone)));
162+
ext::deriving::clone::expand_deriving_clone)));
163163

164164
// Quasi-quoting expanders
165165
syntax_expanders.insert(@~"quote_tokens",

0 commit comments

Comments
 (0)