From aaa9780a3b5a1c78b6f5e0eb1c46405ee044b750 Mon Sep 17 00:00:00 2001 From: John Hodge Date: Tue, 25 Aug 2015 17:47:34 +0800 Subject: Rename tagged_enum to tagged_union --- src/ast/path.hpp | 2 +- src/ast/pattern.hpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/ast') diff --git a/src/ast/path.hpp b/src/ast/path.hpp index ff267c73..7cc4a181 100644 --- a/src/ast/path.hpp +++ b/src/ast/path.hpp @@ -10,7 +10,7 @@ #include #include #include -#include +#include class TypeRef; diff --git a/src/ast/pattern.hpp b/src/ast/pattern.hpp index 299a26a6..6b89aa35 100644 --- a/src/ast/pattern.hpp +++ b/src/ast/pattern.hpp @@ -5,7 +5,7 @@ #include #include #include -#include +#include namespace AST { @@ -18,7 +18,7 @@ class Pattern: public Serialisable { public: - TAGGED_ENUM(Data, Any, + TAGGED_UNION(Data, Any, (Any, () ), (MaybeBind, () ), (Ref, (bool mut; unique_ptr sub;) ), -- cgit v1.2.3