whitespace, reindentation, and comments only

This commit is contained in:
John Clements
2013-07-11 22:58:14 -07:00
parent ec0a64def5
commit 60562ac9f8
6 changed files with 42 additions and 27 deletions

View File

@@ -51,6 +51,12 @@ impl Ident {
if (self.ctxt == other.ctxt) {
self.name == other.name
} else {
// IF YOU SEE ONE OF THESE FAILS: it means that you're comparing
// idents that have different contexts. You can't fix this without
// knowing whether the comparison should be hygienic or non-hygienic.
// if it should be non-hygienic (most things are), just compare the
// 'name' fields of the idents. Or, even better, replace the idents
// with Name's.
fail!(fmt!("not allowed to compare these idents: %?, %?", self, other));
}
}
@@ -128,6 +134,7 @@ pub type FnIdent = Option<Ident>;
pub struct Lifetime {
id: NodeId,
span: Span,
// FIXME #7743 : change this to Name!
ident: Ident
}
@@ -647,7 +654,6 @@ pub enum matcher_ {
// lo, hi position-in-match-array used:
match_seq(~[matcher], Option<::parse::token::Token>, bool, uint, uint),
// parse a Rust NT: name to bind, name of NT, position in match array:
// NOTE: 'name of NT' shouldnt really be represented as an ident, should it?
match_nonterminal(Ident, Ident, uint)
}