about summary refs log tree commit diff
path: root/src/comp/syntax/ext
diff options
context:
space:
mode:
Diffstat (limited to 'src/comp/syntax/ext')
-rw-r--r--src/comp/syntax/ext/base.rs2
-rw-r--r--src/comp/syntax/ext/simplext.rs4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/comp/syntax/ext/base.rs b/src/comp/syntax/ext/base.rs
index 0dee29db0f9..bead9a5d85b 100644
--- a/src/comp/syntax/ext/base.rs
+++ b/src/comp/syntax/ext/base.rs
@@ -11,7 +11,7 @@ type macro_def = {ident: str, ext: syntax_extension};
 type macro_definer =
     fn@(ext_ctxt, span, @ast::expr, option::t<str>) -> macro_def;
 
-tag syntax_extension {
+enum syntax_extension {
     normal(syntax_expander);
     macro_defining(macro_definer);
 }
diff --git a/src/comp/syntax/ext/simplext.rs b/src/comp/syntax/ext/simplext.rs
index a71bb650f3c..85d6d451810 100644
--- a/src/comp/syntax/ext/simplext.rs
+++ b/src/comp/syntax/ext/simplext.rs
@@ -25,10 +25,10 @@ fn path_to_ident(pth: @path) -> option::t<ident> {
 type clause = {params: binders, body: @expr};
 
 /* logically, an arb_depth should contain only one kind of matchable */
-tag arb_depth<T> { leaf(T); seq(@[arb_depth<T>], span); }
+enum arb_depth<T> { leaf(T); seq(@[arb_depth<T>], span); }
 
 
-tag matchable {
+enum matchable {
     match_expr(@expr);
     match_path(@path);
     match_ident(ast::spanned<ident>);