about summary refs log tree commit diff
path: root/src/comp/syntax/ext
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2011-09-01 16:47:46 -0700
committerBrian Anderson <banderson@mozilla.com>2011-09-01 16:53:53 -0700
commite35c021aa44d9e86569592657f85943bae1815a5 (patch)
tree02ba7cc6cbc600503bf87519725bf8f516970680 /src/comp/syntax/ext
parentd8a833dccd5dc6e7c2b0694e22334724fe32e91d (diff)
Parse "",str as istrs. Pretty print istrs as "",str. Issue #855
Diffstat (limited to 'src/comp/syntax/ext')
-rw-r--r--src/comp/syntax/ext/ident_to_str.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/comp/syntax/ext/ident_to_str.rs b/src/comp/syntax/ext/ident_to_str.rs
index 298fef31ec5..d2c73bfb16f 100644
--- a/src/comp/syntax/ext/ident_to_str.rs
+++ b/src/comp/syntax/ext/ident_to_str.rs
@@ -20,6 +20,6 @@ fn expand_syntax_ext(cx: &ext_ctxt, sp: codemap::span, arg: @ast::expr,
     ret make_new_lit(cx, sp,
                      ast::lit_str(expr_to_ident(cx, args[0u],
                                                 ~"expected an ident"),
-                                  ast::sk_rc));
+                                  ast::sk_unique));
 
 }