diff options
author | Clifford Wolf <clifford@clifford.at> | 2018-05-04 15:27:28 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2018-05-04 15:27:28 +0200 |
commit | 5c03aeac60b8f8e88367d3bbf3b13b84a54ef11b (patch) | |
tree | d56b5370ec336ba4edd4171ae1f02cc367594fd3 /kernel/log.h | |
parent | 47eb150eec1530384c586971bcf8ec270e1d6acc (diff) | |
download | yosys-5c03aeac60b8f8e88367d3bbf3b13b84a54ef11b.tar.gz yosys-5c03aeac60b8f8e88367d3bbf3b13b84a54ef11b.tar.bz2 yosys-5c03aeac60b8f8e88367d3bbf3b13b84a54ef11b.zip |
Add "yosys -e regex" for turning warnings into errors
Signed-off-by: Clifford Wolf <clifford@clifford.at>
Diffstat (limited to 'kernel/log.h')
-rw-r--r-- | kernel/log.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/log.h b/kernel/log.h index 90a12df36..457229c87 100644 --- a/kernel/log.h +++ b/kernel/log.h @@ -49,7 +49,7 @@ struct log_cmd_error_exception { }; extern std::vector<FILE*> log_files; extern std::vector<std::ostream*> log_streams; extern std::map<std::string, std::set<std::string>> log_hdump; -extern std::vector<std::regex> log_warn_regexes, log_nowarn_regexes; +extern std::vector<std::regex> log_warn_regexes, log_nowarn_regexes, log_werror_regexes; extern std::set<std::string> log_warnings; extern int log_warnings_count; extern bool log_hdump_all; |