From 91e4ab1921467783122eff292359e7e9784508c7 Mon Sep 17 00:00:00 2001 From: John Hodge Date: Fri, 20 May 2016 15:55:18 +0800 Subject: String primitive, bind pointers in resolve, print macro name in span --- src/ast/ast.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/ast/ast.hpp') diff --git a/src/ast/ast.hpp b/src/ast/ast.hpp index a5d4ec8c..06ff857e 100644 --- a/src/ast/ast.hpp +++ b/src/ast/ast.hpp @@ -554,7 +554,8 @@ public: char m_index_populated = 0; // 0 = no, 1 = partial, 2 = complete // TODO: Add "namespace" list (separate to types) struct IndexEnt { - bool is_pub; + bool is_pub; // Used as part of glob import checking + bool is_import; // Set if this item has a path that isn't `mod->path() + name` ::AST::Path path; }; ::std::unordered_map< ::std::string, IndexEnt > m_namespace_items; -- cgit v1.2.3