diff options
author | John Hodge <tpg@mutabah.net> | 2015-08-25 17:47:34 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2015-08-25 17:47:34 +0800 |
commit | aaa9780a3b5a1c78b6f5e0eb1c46405ee044b750 (patch) | |
tree | 60a2dd51b06e66cbc584e6e8a7f56ace52d08a59 /src/ast | |
parent | b372cfc36b5be1f73d3d79c399530cffd4ce444a (diff) | |
download | mrust-aaa9780a3b5a1c78b6f5e0eb1c46405ee044b750.tar.gz |
Rename tagged_enum to tagged_union
Diffstat (limited to 'src/ast')
-rw-r--r-- | src/ast/path.hpp | 2 | ||||
-rw-r--r-- | src/ast/pattern.hpp | 4 |
2 files changed, 3 insertions, 3 deletions
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 <initializer_list> #include <cassert> #include <serialise.hpp> -#include <tagged_enum.hpp> +#include <tagged_union.hpp> 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 <vector> #include <memory> #include <string> -#include <tagged_enum.hpp> +#include <tagged_union.hpp> 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<Pattern> sub;) ), |