diff options
author | John Hodge <tpg@mutabah.net> | 2015-03-22 18:37:20 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2015-03-22 18:37:20 +0800 |
commit | 5c61e0955197adb58fdf7911ccf7e05c13f2263d (patch) | |
tree | ec216818778c9351f850bb4044a58c0cc6e691a4 /src/types.hpp | |
parent | fc9a04403eb5b694d37f77baa0de2f8e363f46f1 (diff) | |
download | mrust-5c61e0955197adb58fdf7911ccf7e05c13f2263d.tar.gz |
Clean up local path resolution, add internal 'str' type
Diffstat (limited to 'src/types.hpp')
-rw-r--r-- | src/types.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/types.hpp b/src/types.hpp index 86733ad1..ab4c5250 100644 --- a/src/types.hpp +++ b/src/types.hpp @@ -92,6 +92,11 @@ public: m_class(PRIMITIVE),
m_core_type(type)
{}
+ TypeRef(enum eCoreType type):
+ m_class(PRIMITIVE),
+ m_core_type(type)
+ {}
+
struct TagTuple {};
TypeRef(TagTuple _, ::std::vector<TypeRef> inner_types):
m_class(TUPLE),
|