Skip to content

Commit d9b407c

Browse files
committed
---
yaml --- r: 79472 b: refs/heads/snap-stage3 c: 015ba31 h: refs/heads/master v: v3
1 parent 6142f66 commit d9b407c

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
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: 124eb2119c78651cfaaa7a046a101fa2e20f83ca
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: 62fee04ae9f82c1d1fe03c68735ee2b9f69f9b8e
4+
refs/heads/snap-stage3: 015ba31c02b912220a9b7323e1a6ae3bad4ab927
55
refs/heads/try: ac820906c0e53eab79a98ee64f7231f57c3887b4
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b

branches/snap-stage3/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)