refactoring mod.rs

This commit is contained in:
John Clements 2013-04-23 10:57:41 -07:00
parent a2493ad048
commit c73a9c9cd0
5 changed files with 438 additions and 164 deletions

View file

@ -4463,7 +4463,7 @@ pub impl Parser {
}
// Parses a source module as a crate
fn parse_crate_mod(&self, _cfg: crate_cfg) -> @crate {
fn parse_crate_mod(&self) -> @crate {
let lo = self.span.lo;
// parse the crate's inner attrs, maybe (oops) one
// of the attrs of an item: