diff --git a/src/comp/syntax/ext/expand.rs b/src/comp/syntax/ext/expand.rs index 9a08b36af20..77107e6d136 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(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, ...])]]; + #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, ...])]); }"; }