summaryrefslogtreecommitdiff
path: root/src/ast/ast.hpp
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2016-09-27 17:07:38 +0800
committerJohn Hodge <tpg@mutabah.net>2016-09-27 17:07:38 +0800
commit5af08604e03340657d3823fcd4eefe3d21f2fb30 (patch)
treeb29e6adb2e030ee59b24c3cecc12680c5ab8c8fa /src/ast/ast.hpp
parent2eb5d46788bcd1d2de1d3ee21c15edf05204ac11 (diff)
downloadmrust-5af08604e03340657d3823fcd4eefe3d21f2fb30.tar.gz
AST - Refactor extern blocks into Items
Diffstat (limited to 'src/ast/ast.hpp')
-rw-r--r--src/ast/ast.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ast/ast.hpp b/src/ast/ast.hpp
index 3f43e32a..2554ed58 100644
--- a/src/ast/ast.hpp
+++ b/src/ast/ast.hpp
@@ -463,7 +463,7 @@ public:
const ::std::string& abi() const { return m_abi; }
- void add_fcn(Named<Item> named_item);
+ void add_item(Named<Item> named_item);
// NOTE: Only Function and Static are valid.
::std::vector<Named<Item>>& items() { return m_items; }