aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/interface/CompilerStack.h
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-08-02 21:07:35 +0800
committerGitHub <noreply@github.com>2018-08-02 21:07:35 +0800
commit009a55c82d22f08fd207739d7b8aeff215fb7c03 (patch)
treee900e0932a78429e052ea6de29eedbd0835005d5 /libsolidity/interface/CompilerStack.h
parent90a5928b883dc9bbc889269a4e86d3d32c79d8ca (diff)
parentf74cff622dd0eb8d4e64c014731e00fb9ea1d078 (diff)
downloaddexon-solidity-009a55c82d22f08fd207739d7b8aeff215fb7c03.tar
dexon-solidity-009a55c82d22f08fd207739d7b8aeff215fb7c03.tar.gz
dexon-solidity-009a55c82d22f08fd207739d7b8aeff215fb7c03.tar.bz2
dexon-solidity-009a55c82d22f08fd207739d7b8aeff215fb7c03.tar.lz
dexon-solidity-009a55c82d22f08fd207739d7b8aeff215fb7c03.tar.xz
dexon-solidity-009a55c82d22f08fd207739d7b8aeff215fb7c03.tar.zst
dexon-solidity-009a55c82d22f08fd207739d7b8aeff215fb7c03.zip
Merge pull request #4327 from ethereum/document-internals
Properly explain all the analsys steps in CompilerStack
Diffstat (limited to 'libsolidity/interface/CompilerStack.h')
-rw-r--r--libsolidity/interface/CompilerStack.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libsolidity/interface/CompilerStack.h b/libsolidity/interface/CompilerStack.h
index 0578ac86..7b144660 100644
--- a/libsolidity/interface/CompilerStack.h
+++ b/libsolidity/interface/CompilerStack.h
@@ -352,8 +352,9 @@ private:
std::vector<Remapping> m_remappings;
std::map<std::string const, Source> m_sources;
std::shared_ptr<GlobalContext> m_globalContext;
- std::map<ASTNode const*, std::shared_ptr<DeclarationContainer>> m_scopes;
std::vector<Source const*> m_sourceOrder;
+ /// This is updated during compilation.
+ std::map<ASTNode const*, std::shared_ptr<DeclarationContainer>> m_scopes;
std::map<std::string const, Contract> m_contracts;
ErrorList m_errorList;
ErrorReporter m_errorReporter;