diff options
| author | Graydon Hoare <graydon@mozilla.com> | 2012-01-13 15:05:26 -0800 |
|---|---|---|
| committer | Graydon Hoare <graydon@mozilla.com> | 2012-01-13 15:43:12 -0800 |
| commit | 91b0a512904936212cb104e5d1ae3ea86686664a (patch) | |
| tree | 150eda5f3336a7ed650f8c829d4fed302c8e23e8 /src/comp/syntax | |
| parent | 4f9e1ba80b10a61c02fdcd842117f0234f06b439 (diff) | |
Change builtin macro defs to use #macro()
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 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, ...])]); }"; } |
