diff options
author | Denton Liu <liu.denton+github@gmail.com> | 2016-08-15 22:58:01 +0800 |
---|---|---|
committer | Denton Liu <liu.denton+github@gmail.com> | 2016-08-19 22:34:50 +0800 |
commit | e00f802f725e284af453d70a48d450a4d5c9925e (patch) | |
tree | 26e5ef14ebbd9a47dbf6cd5e5ed95d2dba9776a0 /libsolidity/interface/CompilerStack.h | |
parent | 64cec9793a881e5a8ee77cb73e3f3599f330c044 (diff) | |
download | dexon-solidity-e00f802f725e284af453d70a48d450a4d5c9925e.tar.gz dexon-solidity-e00f802f725e284af453d70a48d450a4d5c9925e.tar.zst dexon-solidity-e00f802f725e284af453d70a48d450a4d5c9925e.zip |
Remove standard contracts
Diffstat (limited to 'libsolidity/interface/CompilerStack.h')
-rw-r--r-- | libsolidity/interface/CompilerStack.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libsolidity/interface/CompilerStack.h b/libsolidity/interface/CompilerStack.h index b3c4450c..da479638 100644 --- a/libsolidity/interface/CompilerStack.h +++ b/libsolidity/interface/CompilerStack.h @@ -85,14 +85,13 @@ public: /// Creates a new compiler stack. /// @param _readFile callback to used to read files for import statements. Should return - /// @param _addStandardSources Adds standard sources if @a _addStandardSources. - explicit CompilerStack(bool _addStandardSources = true, ReadFileCallback const& _readFile = ReadFileCallback()); + explicit CompilerStack(ReadFileCallback const& _readFile = ReadFileCallback()); /// Sets path remappings in the format "context:prefix=target" void setRemappings(std::vector<std::string> const& _remappings); /// Resets the compiler to a state where the sources are not parsed or even removed. - void reset(bool _keepSources = false, bool _addStandardSources = true); + void reset(bool _keepSources = false); /// Adds a source object (e.g. file) to the parser. After this, parse has to be called again. /// @returns true if a source object by the name already existed and was replaced. |