Fixed use of libraries.

This commit is contained in:
chriseth 2015-04-22 10:23:00 +02:00
parent a44bcb6909
commit 88239460bb
2 changed files with 2 additions and 2 deletions

View File

@ -264,7 +264,7 @@ void CompilerStack::reset(bool _keepSources)
{
m_sources.clear();
if (m_addStandardSources)
addSources(StandardSources);
addSources(StandardSources, true);
}
m_globalContext.reset();
m_sourceOrder.clear();

View File

@ -140,7 +140,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