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
a710ec1b4e
commit
5898ff1128
@ -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>
|
||||
@ -350,6 +352,9 @@ bool CompilerStack::parse()
|
||||
|
||||
Parser parser{m_errorReporter, m_evmVersion, m_parserErrorRecovery};
|
||||
|
||||
for (auto [name, content]: solidity::stdlib::sources)
|
||||
m_sources[name].charStream = make_unique<CharStream>(content, name);
|
||||
|
||||
vector<string> sourcesToParse;
|
||||
for (auto const& s: m_sources)
|
||||
sourcesToParse.push_back(s.first);
|
||||
|
Loading…
Reference in New Issue
Block a user