about summary refs log tree commit diff
path: root/src/libsyntax/parse/parser.rs
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2012-06-09 00:53:34 -0700
committerBrian Anderson <banderson@mozilla.com>2012-06-09 00:53:34 -0700
commit21087bf1a5120739dc865e18d4500a16a8a16648 (patch)
treeea4817378faffb5d0971946c0b6da560c14d9d44 /src/libsyntax/parse/parser.rs
parent8fea5260c2f62fe24e9d86b461d5580d3f217952 (diff)
downloadrust-21087bf1a5120739dc865e18d4500a16a8a16648.tar.gz
rust-21087bf1a5120739dc865e18d4500a16a8a16648.zip
syntax: Intern @strs instead of strs
Diffstat (limited to 'src/libsyntax/parse/parser.rs')
-rw-r--r--src/libsyntax/parse/parser.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs
index a6c32f99a72..75dae09fd0d 100644
--- a/src/libsyntax/parse/parser.rs
+++ b/src/libsyntax/parse/parser.rs
@@ -10,7 +10,7 @@ import lexer::reader;
 import prec::{as_prec, token_to_binop};
 import attr::parser_attr;
 import common::{seq_sep, seq_sep_opt, seq_sep_none, token_to_str};
-import common::{parser_common};
+import common::*;//{parser_common};
 import dvec::{dvec, extensions};
 
 export file_type;
@@ -151,7 +151,7 @@ class parser {
         self.sess.span_diagnostic.span_warn(copy self.span, m)
     }
     fn get_str(i: token::str_num) -> str {
-        interner::get(*self.reader.interner, i)
+        *interner::get(*self.reader.interner, i)
     }
     fn get_id() -> node_id { next_node_id(self.sess) }