Skip to content

Commit 74ab38f

Browse files
committed
---
yaml --- r: 79341 b: refs/heads/try c: a42e36a h: refs/heads/master i: 79339: aea9009 v: v3
1 parent 9ed4703 commit 74ab38f

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: 3e6de6b7da8ee88bf84b0e217900051334be08da
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 60fba4d7d677ec098e6a43014132fe99f7547363
5-
refs/heads/try: d1d7b199ec883aecbaa305784aed0cecf6adf9a0
5+
refs/heads/try: a42e36a816e600c5c40e2044bf06ee1625d4ebd6
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)