diff options
| author | Graydon Hoare <graydon@mozilla.com> | 2011-12-22 14:42:52 -0800 |
|---|---|---|
| committer | Graydon Hoare <graydon@mozilla.com> | 2011-12-22 14:42:52 -0800 |
| commit | 8b580954fe140dd45db61d719a49065c3e31de95 (patch) | |
| tree | 265e743361e058682486713db96aadb2f3381b99 /src/comp/syntax/parse/eval.rs | |
| parent | 3b610646317f3b2be49936dc113c684dc4910df6 (diff) | |
| download | rust-8b580954fe140dd45db61d719a49065c3e31de95.tar.gz rust-8b580954fe140dd45db61d719a49065c3e31de95.zip | |
Register snapshots and switch logging over to use of log_full or #error / #debug.
Diffstat (limited to 'src/comp/syntax/parse/eval.rs')
| -rw-r--r-- | src/comp/syntax/parse/eval.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/comp/syntax/parse/eval.rs b/src/comp/syntax/parse/eval.rs index 2b0fcab9b8e..904b7698118 100644 --- a/src/comp/syntax/parse/eval.rs +++ b/src/comp/syntax/parse/eval.rs @@ -29,7 +29,7 @@ fn eval_crate_directives(cx: ctx, cdirs: [@ast::crate_directive], prefix: str, fn eval_crate_directives_to_mod(cx: ctx, cdirs: [@ast::crate_directive], prefix: str, suffix: option::t<str>) -> (ast::_mod, [ast::attribute]) { - log #fmt("eval crate prefix: %s", prefix); + #debug("eval crate prefix: %s", prefix); log #fmt("eval crate suffix: %s", option::from_maybe("none", suffix)); let (cview_items, citems, cattrs) @@ -72,9 +72,9 @@ fn parse_companion_mod(cx: ctx, prefix: str, suffix: option::t<str>) } let modpath = companion_file(prefix, suffix); - log #fmt("looking for companion mod %s", modpath); + #debug("looking for companion mod %s", modpath); if file_exists(modpath) { - log "found companion mod"; + #debug("found companion mod"); let p0 = new_parser_from_file(cx.sess, cx.cfg, modpath, cx.chpos, cx.byte_pos, SOURCE_FILE); let inner_attrs = parse_inner_attrs_and_next(p0); |
