diff options
author | John Hodge <tpg@mutabah.net> | 2015-03-24 20:22:16 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2015-03-24 20:22:16 +0800 |
commit | 5db811ee419fd4288d043b2d4148f17424e15302 (patch) | |
tree | b732602bd6938cecbff23d4ab4f751160dea849e /src/ast/path.hpp | |
parent | c2ddc804aef34ed7593d0123a3f2403a769e2ed0 (diff) | |
download | mrust-5db811ee419fd4288d043b2d4148f17424e15302.tar.gz |
Slow bugfixes
Diffstat (limited to 'src/ast/path.hpp')
-rw-r--r-- | src/ast/path.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ast/path.hpp b/src/ast/path.hpp index fdf788a5..c2b345df 100644 --- a/src/ast/path.hpp +++ b/src/ast/path.hpp @@ -100,6 +100,10 @@ private: const Module* module_; const Enum* enum_; const Struct* struct_; + struct { + const Struct* struct_; + unsigned int idx; + } structitem; const Trait* trait_; const Static* static_; const Function* func_; @@ -226,6 +230,7 @@ private: void bind_enum(const Enum& ent, const ::std::vector<TypeRef>& args); void bind_enum_var(const Enum& ent, const ::std::string& name, const ::std::vector<TypeRef>& args); void bind_struct(const Struct& ent, const ::std::vector<TypeRef>& args); + void bind_struct_member(const Struct& ent, const ::std::vector<TypeRef>& args, const PathNode& member_node); void bind_static(const Static& ent); }; |