diff options
author | Clifford Wolf <clifford@clifford.at> | 2019-04-29 13:48:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-29 13:48:52 +0200 |
commit | 8fde245ea2fbc999328df410f48269b8705d121b (patch) | |
tree | a81952a90066194e5cbbf23d17cf602d83ee0f10 /kernel/yosys.h | |
parent | ea0e0722bb42254ac8c63eb41664d9dfb7973aec (diff) | |
parent | 4f15e7f00fa2b073d6df39d4af7171f2a3f07bc9 (diff) | |
download | yosys-8fde245ea2fbc999328df410f48269b8705d121b.tar.gz yosys-8fde245ea2fbc999328df410f48269b8705d121b.tar.bz2 yosys-8fde245ea2fbc999328df410f48269b8705d121b.zip |
Merge pull request #967 from olegendo/depfile_esc_spaces
escape spaces with backslash when writing dep file
Diffstat (limited to 'kernel/yosys.h')
-rw-r--r-- | kernel/yosys.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/yosys.h b/kernel/yosys.h index 2cf6188b4..82eb069ab 100644 --- a/kernel/yosys.h +++ b/kernel/yosys.h @@ -257,6 +257,7 @@ std::string make_temp_dir(std::string template_str = "/tmp/yosys_XXXXXX"); bool check_file_exists(std::string filename, bool is_exec = false); bool is_absolute_path(std::string filename); void remove_directory(std::string dirname); +std::string escape_filename_spaces(const std::string& filename); template<typename T> int GetSize(const T &obj) { return obj.size(); } int GetSize(RTLIL::Wire *wire); |