mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #1708 from chriseth/sol_fix_libraries
Fixed use of libraries.
This commit is contained in:
commit
ff39a1d241
@ -267,7 +267,7 @@ void CompilerStack::reset(bool _keepSources)
|
||||
{
|
||||
m_sources.clear();
|
||||
if (m_addStandardSources)
|
||||
addSources(StandardSources);
|
||||
addSources(StandardSources, true);
|
||||
}
|
||||
m_globalContext.reset();
|
||||
m_sourceOrder.clear();
|
||||
|
@ -141,7 +141,7 @@ private:
|
||||
std::shared_ptr<SourceUnit> ast;
|
||||
std::string interface;
|
||||
bool isLibrary = false;
|
||||
void reset() { scanner.reset(); ast.reset(); interface.clear(); isLibrary = false;}
|
||||
void reset() { scanner.reset(); ast.reset(); interface.clear(); }
|
||||
};
|
||||
|
||||
struct Contract
|
||||
|
Loading…
Reference in New Issue
Block a user