Skip to content

Commit 37564eb

Browse files
committed
---
yaml --- r: 79729 b: refs/heads/try c: 015ba31 h: refs/heads/master i: 79727: 1616e11 v: v3
1 parent 18ac138 commit 37564eb

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
refs/heads/master: ba9fa89bfb4aae53db93e9ecac31807af96356fc
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 54ae2800ffb30513f89ce13d27ac3c8d095d98ac
5-
refs/heads/try: 62fee04ae9f82c1d1fe03c68735ee2b9f69f9b8e
5+
refs/heads/try: 015ba31c02b912220a9b7323e1a6ae3bad4ab927
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c

branches/try/src/libsyntax/ext/expand.rs

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1462,10 +1462,14 @@ mod test {
14621462
pprust::print_mod(s, &crate.module, crate.attrs);
14631463
}
14641464
1465-
//fn expand_and_resolve(crate_str: @str) -> ast::crate {
1466-
//let (crate_ast,ps) = string_to_crate_and_sess(crate_str);
1465+
fn expand_crate_str(crate_str: @str) -> @ast::Crate {
1466+
let (crate_ast,ps) = string_to_crate_and_sess(crate_str);
14671467
// the cfg argument actually does matter, here...
1468-
//let expanded_ast = expand_crate(ps,~[],crate_ast);
1468+
expand_crate(ps,~[],crate_ast)
1469+
}
1470+
1471+
//fn expand_and_resolve(crate_str: @str) -> ast::crate {
1472+
//let expanded_ast = expand_crate_str(crate_str);
14691473
// std::io::println(fmt!("expanded: %?\n",expanded_ast));
14701474
//mtwt_resolve_crate(expanded_ast)
14711475
//}

0 commit comments

Comments
 (0)