Access parse/attrs.rs with an impl.

This commit is contained in:
Paul Stansifer 2012-05-24 13:44:42 -07:00
parent 09652c8f5f
commit 5b72e52e47
5 changed files with 135 additions and 122 deletions

View file

@ -23,6 +23,7 @@ mod test {
fn parse_attributes(source: str) -> [ast::attribute] {
import syntax::parse;
import parse::parser;
import parse::attr::parser_attr;
import syntax::codemap;
import syntax::diagnostic;
@ -38,7 +39,7 @@ mod test {
let parser = parse::new_parser_from_source_str(
parse_sess, [], "-", codemap::fss_none, @source);
parse::attr::parse_outer_attributes(parser)
parser.parse_outer_attributes()
}
}