diff options
Diffstat (limited to 'src/comp/syntax')
| -rw-r--r-- | src/comp/syntax/ext/expand.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/comp/syntax/ext/expand.rs b/src/comp/syntax/ext/expand.rs index 8a28f7dc84c..b69c1862df8 100644 --- a/src/comp/syntax/ext/expand.rs +++ b/src/comp/syntax/ext/expand.rs @@ -55,10 +55,10 @@ fn expand_expr(exts: hashmap<str, syntax_extension>, cx: ext_ctxt, e: expr_, fn core_macros() -> str { ret "{ - #macro[[#error[f, ...], log_full(core::error, #fmt[f, ...])]]; - #macro[[#warn[f, ...], log_full(core::warn, #fmt[f, ...])]]; - #macro[[#info[f, ...], log_full(core::info, #fmt[f, ...])]]; - #macro[[#debug[f, ...], log_full(core::debug, #fmt[f, ...])]]; + #macro[[#error[f, ...], log(core::error, #fmt[f, ...])]]; + #macro[[#warn[f, ...], log(core::warn, #fmt[f, ...])]]; + #macro[[#info[f, ...], log(core::info, #fmt[f, ...])]]; + #macro[[#debug[f, ...], log(core::debug, #fmt[f, ...])]]; }"; } |
