Skip to content

Commit b9442d6

Browse files
committed
---
yaml --- r: 35406 b: refs/heads/master c: 7e98720 h: refs/heads/master v: v3
1 parent d441bf7 commit b9442d6

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: d45cb279012a56faaa39de305c1f8cd2098ecfb0
2+
refs/heads/master: 7e9872058e4d7f4dfa5824c441b02094bdd883b5
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: eb8fd119c65c67f3b1b8268cc7341c22d39b7b61
55
refs/heads/try: d324a424d8f84b1eb049b12cf34182bda91b0024

trunk/src/libsyntax/ext/base.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,8 @@ fn syntax_expander_table() -> HashMap<~str, syntax_extension> {
123123
~"quote_tokens", builtin_normal_tt(ext::quote::expand_quote_tokens));
124124
syntax_expanders.insert(~"quote_expr",
125125
builtin_normal_tt(ext::quote::expand_quote_expr));
126-
syntax_expanders.insert(~"quote_type",
127-
builtin_normal_tt(ext::quote::expand_quote_type));
126+
syntax_expanders.insert(~"quote_ty",
127+
builtin_normal_tt(ext::quote::expand_quote_ty));
128128
syntax_expanders.insert(~"quote_item",
129129
builtin_normal_tt(ext::quote::expand_quote_item));
130130
syntax_expanders.insert(~"quote_pat",

trunk/src/libsyntax/ext/quote.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,11 @@ pub fn expand_quote_pat(cx: ext_ctxt,
6262
~[e_refutable], tts))
6363
}
6464

65-
pub fn expand_quote_type(cx: ext_ctxt,
66-
sp: span,
67-
tts: ~[ast::token_tree]) -> base::mac_result {
65+
pub fn expand_quote_ty(cx: ext_ctxt,
66+
sp: span,
67+
tts: ~[ast::token_tree]) -> base::mac_result {
6868
let e_param_colons = build::mk_lit(cx, sp, ast::lit_bool(false));
69-
base::mr_expr(expand_parse_call(cx, sp, ~"parse_type",
69+
base::mr_expr(expand_parse_call(cx, sp, ~"parse_ty",
7070
~[e_param_colons], tts))
7171
}
7272

0 commit comments

Comments
 (0)