mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Do not overwrite files unless forced.
This commit is contained in:
@@ -47,7 +47,8 @@ public:
|
||||
/// Parse the files and create source code objects
|
||||
bool processInput();
|
||||
/// Perform actions on the input depending on provided compiler arguments
|
||||
void actOnInput();
|
||||
/// @returns true on success.
|
||||
bool actOnInput();
|
||||
|
||||
private:
|
||||
bool link();
|
||||
@@ -81,6 +82,8 @@ private:
|
||||
/// @arg _data to be written
|
||||
void createFile(std::string const& _fileName, std::string const& _data);
|
||||
|
||||
bool m_error = false; ///< If true, some error occurred.
|
||||
|
||||
bool m_onlyAssemble = false;
|
||||
bool m_onlyLink = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user