about summary refs log tree commit diff
path: root/src/comp/syntax
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2011-08-11 22:55:08 -0700
committerBrian Anderson <banderson@mozilla.com>2011-08-12 12:14:06 -0700
commit674fb0911c2eb9aeaa2abdf03b6e4e8756f1cf78 (patch)
tree28fff1ce48c66d464617069e9bcf86ddb7e33536 /src/comp/syntax
parent495b0bf65ed6c2a8f3d9ab4aaa8c187bb144051e (diff)
downloadrust-674fb0911c2eb9aeaa2abdf03b6e4e8756f1cf78.tar.gz
rust-674fb0911c2eb9aeaa2abdf03b6e4e8756f1cf78.zip
Rename std::termivec to std::term
Diffstat (limited to 'src/comp/syntax')
-rw-r--r--src/comp/syntax/codemap.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/comp/syntax/codemap.rs b/src/comp/syntax/codemap.rs
index 40021bd4e56..38f99123a4e 100644
--- a/src/comp/syntax/codemap.rs
+++ b/src/comp/syntax/codemap.rs
@@ -1,7 +1,7 @@
 import std::ivec;
 import std::uint;
 import std::str;
-import std::termivec;
+import std::term;
 import std::io;
 import std::option;
 import std::option::some;
@@ -85,12 +85,12 @@ fn emit_diagnostic(sp: &option::t[span], msg: &str, kind: &str, color: u8,
       none. { }
     }
     io::stdout().write_str(ss + ": ");
-    if termivec::color_supported() {
-        termivec::fg(io::stdout().get_buf_writer(), color);
+    if term::color_supported() {
+        term::fg(io::stdout().get_buf_writer(), color);
     }
     io::stdout().write_str(#fmt("%s:", kind));
-    if termivec::color_supported() {
-        termivec::reset(io::stdout().get_buf_writer());
+    if term::color_supported() {
+        term::reset(io::stdout().get_buf_writer());
     }
     io::stdout().write_str(#fmt(" %s\n", msg));