From 91b0a512904936212cb104e5d1ae3ea86686664a Mon Sep 17 00:00:00 2001 From: Graydon Hoare Date: Fri, 13 Jan 2012 15:05:26 -0800 Subject: [PATCH] Change builtin macro defs to use #macro() --- src/comp/syntax/ext/expand.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/comp/syntax/ext/expand.rs b/src/comp/syntax/ext/expand.rs index 9a08b36af207..77107e6d1368 100644 --- a/src/comp/syntax/ext/expand.rs +++ b/src/comp/syntax/ext/expand.rs @@ -55,10 +55,10 @@ fn expand_expr(exts: hashmap, 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, ...])]); }"; }