Do not overwrite files unless forced.

This commit is contained in:
chriseth
2017-03-10 19:23:43 +01:00
parent 864bfafbcd
commit 31a5e5bfef
4 changed files with 19 additions and 5 deletions
+4 -1
View File
@@ -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;