From 7d05da96f72d96eae1367c21064d7ab3c9a3f2bb Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Thu, 11 Aug 2011 19:14:38 -0700 Subject: Rename std::ioivec to std::io --- src/comp/syntax/parse/lexer.rs | 4 ++-- src/comp/syntax/parse/parser.rs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/comp/syntax/parse') diff --git a/src/comp/syntax/parse/lexer.rs b/src/comp/syntax/parse/lexer.rs index 15dabbb8d49..9e7ae3a24fc 100644 --- a/src/comp/syntax/parse/lexer.rs +++ b/src/comp/syntax/parse/lexer.rs @@ -1,5 +1,5 @@ -import std::ioivec; +import std::io; import std::int; import std::ivec; import std::str; @@ -709,7 +709,7 @@ fn is_lit(t: &token::token) -> bool { type lit = {lit: str, pos: uint}; fn gather_comments_and_literals(cm: &codemap::codemap, path: str, - srdr: ioivec::reader) -> + srdr: io::reader) -> {cmnts: [cmnt], lits: [lit]} { let src = str::unsafe_from_bytes(srdr.read_whole_stream()); let itr = @interner::mk[str](str::hash, str::eq); diff --git a/src/comp/syntax/parse/parser.rs b/src/comp/syntax/parse/parser.rs index d956b28f8b0..e13ecca7232 100644 --- a/src/comp/syntax/parse/parser.rs +++ b/src/comp/syntax/parse/parser.rs @@ -1,5 +1,5 @@ -import std::ioivec; +import std::io; import std::ivec; import std::str; import std::option; @@ -62,7 +62,7 @@ fn new_parser_from_file(sess: parse_sess, cfg: ast::crate_cfg, path: str, chpos: uint, byte_pos: uint, ftype: file_type) -> parser { - let src = ioivec::read_whole_file_str(path); + let src = io::read_whole_file_str(path); let filemap = codemap::new_filemap(path, chpos, byte_pos); sess.cm.files += ~[filemap]; let itr = @interner::mk(str::hash, str::eq); -- cgit 1.4.1-3-g733a5