From bdb8f6cf52a2a4e2f78e6fa95d42140aa26ec31c Mon Sep 17 00:00:00 2001 From: Patrick Walton Date: Thu, 19 Jan 2012 14:24:03 -0800 Subject: rustc: "tag" -> "enum" --- src/comp/syntax/print/pprust.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/comp/syntax/print/pprust.rs') diff --git a/src/comp/syntax/print/pprust.rs b/src/comp/syntax/print/pprust.rs index d666e0e3fab..3717dc83780 100644 --- a/src/comp/syntax/print/pprust.rs +++ b/src/comp/syntax/print/pprust.rs @@ -12,8 +12,8 @@ import pp::{break_offset, word, printer, import driver::diagnostic; // The ps is stored here to prevent recursive type. -// FIXME use a nominal tag instead -tag ann_node { +// FIXME use a nominal enum instead +enum ann_node { node_block(ps, ast::blk); node_item(ps, @ast::item); node_expr(ps, @ast::expr); @@ -565,7 +565,7 @@ fn print_block_with_attrs(s: ps, blk: ast::blk, attrs: [ast::attribute]) { print_possibly_embedded_block_(s, blk, block_normal, indent_unit, attrs); } -tag embed_type { block_macro; block_block_fn; block_normal; } +enum embed_type { block_macro; block_block_fn; block_normal; } fn print_possibly_embedded_block(s: ps, blk: ast::blk, embedded: embed_type, indented: uint) { -- cgit 1.4.1-3-g733a5