summary refs log tree commit diff
path: root/src/comp/driver
diff options
context:
space:
mode:
Diffstat (limited to 'src/comp/driver')
-rw-r--r--src/comp/driver/diagnostic.rs2
-rw-r--r--src/comp/driver/driver.rs2
-rw-r--r--src/comp/driver/rustc.rs2
-rw-r--r--src/comp/driver/session.rs6
4 files changed, 6 insertions, 6 deletions
diff --git a/src/comp/driver/diagnostic.rs b/src/comp/driver/diagnostic.rs
index 6a44c5763de..6011f35ab92 100644
--- a/src/comp/driver/diagnostic.rs
+++ b/src/comp/driver/diagnostic.rs
@@ -107,7 +107,7 @@ fn mk_handler(cm: codemap::codemap,
     } as handler
 }
 
-tag level {
+enum level {
     fatal;
     error;
     warning;
diff --git a/src/comp/driver/driver.rs b/src/comp/driver/driver.rs
index f14d351c4fc..7d0d1741918 100644
--- a/src/comp/driver/driver.rs
+++ b/src/comp/driver/driver.rs
@@ -18,7 +18,7 @@ import option::{some, none};
 import getopts::{optopt, optmulti, optflag, optflagopt, opt_present};
 import back::{x86, x86_64};
 
-tag pp_mode { ppm_normal; ppm_expanded; ppm_typed; ppm_identified; }
+enum pp_mode { ppm_normal; ppm_expanded; ppm_typed; ppm_identified; }
 
 fn default_configuration(sess: session, argv0: str, input: str) ->
    ast::crate_cfg {
diff --git a/src/comp/driver/rustc.rs b/src/comp/driver/rustc.rs
index 8ca9a3e6f72..9e6bb565cad 100644
--- a/src/comp/driver/rustc.rs
+++ b/src/comp/driver/rustc.rs
@@ -127,7 +127,7 @@ fails without recording a fatal error then we've encountered a compiler
 bug and need to present an error.
 */
 fn monitor(f: fn~(diagnostic::emitter)) {
-    tag monitor_msg {
+    enum monitor_msg {
         fatal;
         done;
     };
diff --git a/src/comp/driver/session.rs b/src/comp/driver/session.rs
index 67a8268f5fd..bef939bb1c8 100644
--- a/src/comp/driver/session.rs
+++ b/src/comp/driver/session.rs
@@ -10,11 +10,11 @@ import util::filesearch;
 import back::target_strs;
 import middle::lint;
 
-tag os { os_win32; os_macos; os_linux; os_freebsd; }
+enum os { os_win32; os_macos; os_linux; os_freebsd; }
 
-tag arch { arch_x86; arch_x86_64; arch_arm; }
+enum arch { arch_x86; arch_x86_64; arch_arm; }
 
-tag crate_type { bin_crate; lib_crate; unknown_crate; }
+enum crate_type { bin_crate; lib_crate; unknown_crate; }
 
 type config =
     {os: os,