diff options
author | N. Engelhardt <nak@yosyshq.com> | 2023-01-11 16:05:56 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-11 16:05:56 +0100 |
commit | 41ce00e82a358f9cbb19474be7202899c6af5daa (patch) | |
tree | ead4a7e07b69dc3acb3d0fb4461da59497052d77 /passes/cmds/logger.cc | |
parent | 7b476996df962b63656152f643ff2181143f516e (diff) | |
parent | 4fc5207b1e12d52b247de5f102c2ae9a8518ecc4 (diff) | |
download | yosys-41ce00e82a358f9cbb19474be7202899c6af5daa.tar.gz yosys-41ce00e82a358f9cbb19474be7202899c6af5daa.tar.bz2 yosys-41ce00e82a358f9cbb19474be7202899c6af5daa.zip |
Merge pull request #3620 from YosysHQ/gcc48_remove
Diffstat (limited to 'passes/cmds/logger.cc')
-rw-r--r-- | passes/cmds/logger.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/passes/cmds/logger.cc b/passes/cmds/logger.cc index ec92f1d01..9e45e86af 100644 --- a/passes/cmds/logger.cc +++ b/passes/cmds/logger.cc @@ -104,7 +104,7 @@ struct LoggerPass : public Pass { log("Added regex '%s' for warnings to warn list.\n", pattern.c_str()); log_warn_regexes.push_back(YS_REGEX_COMPILE(pattern)); } - catch (const YS_REGEX_NS::regex_error& e) { + catch (const std::regex_error& e) { log_cmd_error("Error in regex expression '%s' !\n", pattern.c_str()); } continue; @@ -116,7 +116,7 @@ struct LoggerPass : public Pass { log("Added regex '%s' for warnings to nowarn list.\n", pattern.c_str()); log_nowarn_regexes.push_back(YS_REGEX_COMPILE(pattern)); } - catch (const YS_REGEX_NS::regex_error& e) { + catch (const std::regex_error& e) { log_cmd_error("Error in regex expression '%s' !\n", pattern.c_str()); } continue; @@ -128,7 +128,7 @@ struct LoggerPass : public Pass { log("Added regex '%s' for warnings to werror list.\n", pattern.c_str()); log_werror_regexes.push_back(YS_REGEX_COMPILE(pattern)); } - catch (const YS_REGEX_NS::regex_error& e) { + catch (const std::regex_error& e) { log_cmd_error("Error in regex expression '%s' !\n", pattern.c_str()); } continue; @@ -172,7 +172,7 @@ struct LoggerPass : public Pass { log_expect_log[pattern] = LogExpectedItem(YS_REGEX_COMPILE(pattern), count); else log_abort(); } - catch (const YS_REGEX_NS::regex_error& e) { + catch (const std::regex_error& e) { log_cmd_error("Error in regex expression '%s' !\n", pattern.c_str()); } continue; |