diff options
| author | Michael Sullivan <sully@msully.net> | 2012-07-13 15:54:39 -0700 |
|---|---|---|
| committer | Michael Sullivan <sully@msully.net> | 2012-07-13 17:03:54 -0700 |
| commit | 628d3e9d38cced6a1e80a497c98dc16f6e1ead15 (patch) | |
| tree | aed7036a8756545162efece969ca2e24e9d608f5 /src/libsyntax/ext/qquote.rs | |
| parent | f5e69d611e83c392cb83837ed3e6e440cc180d63 (diff) | |
| download | rust-628d3e9d38cced6a1e80a497c98dc16f6e1ead15.tar.gz rust-628d3e9d38cced6a1e80a497c98dc16f6e1ead15.zip | |
Change (hopefully) all of the code that generates strs asts to produce ~strs.
Diffstat (limited to 'src/libsyntax/ext/qquote.rs')
| -rw-r--r-- | src/libsyntax/ext/qquote.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libsyntax/ext/qquote.rs b/src/libsyntax/ext/qquote.rs index c6a4ba1d916..77e67f6da20 100644 --- a/src/libsyntax/ext/qquote.rs +++ b/src/libsyntax/ext/qquote.rs @@ -242,15 +242,15 @@ fn finish<T: qq_helper> ~[@"syntax"/~, @"parse"/~, @"parser"/~, @"parse_from_source_str"/~], ~[node.mk_parse_fn(cx,sp), - mk_str(cx,sp, fname), + mk_uniq_str(cx,sp, fname), mk_call(cx,sp, ~[@"syntax"/~,@"ext"/~, @"qquote"/~, @"mk_file_substr"/~], - ~[mk_str(cx,sp, loc.file.name), + ~[mk_uniq_str(cx,sp, loc.file.name), mk_uint(cx,sp, loc.line), mk_uint(cx,sp, loc.col)]), mk_unary(cx,sp, ast::box(ast::m_imm), - mk_str(cx,sp, str2)), + mk_uniq_str(cx,sp, str2)), cfg_call(), parse_sess_call()] ); |
