diff options
Diffstat (limited to 'src/libsyntax/ext/env.rs')
| -rw-r--r-- | src/libsyntax/ext/env.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libsyntax/ext/env.rs b/src/libsyntax/ext/env.rs index 26a906f8cf0..b8aa69b7735 100644 --- a/src/libsyntax/ext/env.rs +++ b/src/libsyntax/ext/env.rs @@ -5,6 +5,7 @@ * interface. */ import base::*; +import build::mk_lit; export expand_syntax_ext; fn expand_syntax_ext(cx: ext_ctxt, sp: codemap::span, arg: ast::mac_arg, @@ -22,7 +23,7 @@ fn expand_syntax_ext(cx: ext_ctxt, sp: codemap::span, arg: ast::mac_arg, } fn make_new_str(cx: ext_ctxt, sp: codemap::span, +s: str) -> @ast::expr { - ret make_new_lit(cx, sp, ast::lit_str(@s)); + ret mk_lit(cx, sp, ast::lit_str(@s)); } // // Local Variables: |
