mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Include stdlib in compilerstack
This commit is contained in:
parent
d49797ae31
commit
0351717636
@ -77,6 +77,8 @@
|
||||
#include <libsolutil/Algorithms.h>
|
||||
#include <libsolutil/FunctionSelector.h>
|
||||
|
||||
#include "stdlib.h"
|
||||
|
||||
#include <json/json.h>
|
||||
|
||||
#include <boost/algorithm/string/replace.hpp>
|
||||
@ -348,7 +350,9 @@ bool CompilerStack::parse()
|
||||
Parser parser{m_errorReporter, m_evmVersion, m_parserErrorRecovery};
|
||||
|
||||
if (m_stdlib) {
|
||||
// TODO: fill out m_sources
|
||||
for (auto [name, content]: solidity::stdlib::sources) {
|
||||
m_sources[name].charStream = make_unique<CharStream>(content, name);
|
||||
}
|
||||
}
|
||||
|
||||
vector<string> sourcesToParse;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user