Box AST idents

This commit is contained in:
Brian Anderson 2012-06-10 00:49:59 -07:00
parent bdd2000066
commit ce750a7dbc
74 changed files with 629 additions and 603 deletions

View file

@ -30,7 +30,7 @@ fn deserialize_span<D>(_d: D) -> span {
type spanned<T> = {node: T, span: span};
#[auto_serialize]
type ident = str;
type ident = @str;
// Functions may or may not have names.
#[auto_serialize]
@ -399,11 +399,11 @@ type lit = spanned<lit_>;
#[auto_serialize]
enum lit_ {
lit_str(str),
lit_str(@str),
lit_int(i64, int_ty),
lit_uint(u64, uint_ty),
lit_int_unsuffixed(i64, int_ty),
lit_float(str, float_ty),
lit_float(@str, float_ty),
lit_nil,
lit_bool(bool),
}