diff options
author | John Hodge <tpg@mutabah.net> | 2016-03-13 10:03:27 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2016-03-13 10:03:27 +0800 |
commit | 3e20e1a674114c36b200c698dfbd2242d3859e85 (patch) | |
tree | d2bf1e7b353747292015e9863ac0887398d42d09 /src/ast/ast.hpp | |
parent | f6c69a1089e2246156e65c0173a14306935733f3 (diff) | |
download | mrust-3e20e1a674114c36b200c698dfbd2242d3859e85.tar.gz |
Parse+Expand - Remove a todo, fix bug in cfg handling
Diffstat (limited to 'src/ast/ast.hpp')
-rw-r--r-- | src/ast/ast.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ast/ast.hpp b/src/ast/ast.hpp index a84097d1..ed6ad07b 100644 --- a/src/ast/ast.hpp +++ b/src/ast/ast.hpp @@ -419,7 +419,7 @@ public: ::std::unique_ptr<AST::Module> add_anon();
void add_item(bool is_pub, ::std::string name, Item it, MetaItems attrs);
- void add_ext_crate(::std::string ext_name, ::std::string imp_name, MetaItems attrs);
+ void add_ext_crate(bool is_public, ::std::string ext_name, ::std::string imp_name, MetaItems attrs);
void add_alias(bool is_public, Path path, ::std::string name, MetaItems attrs);
void add_typealias(bool is_public, ::std::string name, TypeAlias alias, MetaItems attrs);
void add_static(bool is_public, ::std::string name, Static item, MetaItems attrs);
|