Change file_substr to allow for external strings.

This commit is contained in:
Kevin Atkinson
2012-02-10 03:03:21 -07:00
committed by Niko Matsakis
parent ff6b71f78b
commit 74b4345a38
4 changed files with 17 additions and 15 deletions

View File

@@ -93,7 +93,7 @@ mod test {
mutable byte_pos: 0u
};
let parser = parser::new_parser_from_source_str(
parse_sess, [], "-", none, @source);
parse_sess, [], "-", codemap::fss_none, @source);
parser::parse_outer_attributes(parser)
}