about summary refs log tree commit diff
path: root/src/comp/syntax/ast.rs
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2011-08-25 17:00:12 -0700
committerBrian Anderson <banderson@mozilla.com>2011-08-27 15:54:44 -0700
commit03119fe269de56e737562a9ee8d1bc47a9013eb4 (patch)
tree043711359bd61d152c33a01a720b1982d5ccb69e /src/comp/syntax/ast.rs
parent652332f9d44d0c3eb36c220a88ef37f7f875206f (diff)
downloadrust-03119fe269de56e737562a9ee8d1bc47a9013eb4.tar.gz
rust-03119fe269de56e737562a9ee8d1bc47a9013eb4.zip
Convert ast::ident to istr. Issue #855
Diffstat (limited to 'src/comp/syntax/ast.rs')
-rw-r--r--src/comp/syntax/ast.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/comp/syntax/ast.rs b/src/comp/syntax/ast.rs
index d380fbecdb4..4009ff2bd4e 100644
--- a/src/comp/syntax/ast.rs
+++ b/src/comp/syntax/ast.rs
@@ -7,7 +7,7 @@ import codemap::filename;
 
 type spanned<T> = {node: T, span: span};
 
-type ident = str;
+type ident = istr;
 type identistr = istr;
 
 // Functions may or may not have names.
@@ -429,7 +429,7 @@ type native_mod =
 
 type variant_arg = {ty: @ty, id: node_id};
 
-type variant_ = {name: str, args: [variant_arg], id: node_id};
+type variant_ = {name: ident, args: [variant_arg], id: node_id};
 
 type variant = spanned<variant_>;