3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-27 10:55:51 +00:00

Add log_warning_noprefix() API, Use for Verific warnings and errors

This commit is contained in:
Clifford Wolf 2017-07-27 12:17:04 +02:00
parent d9641621d9
commit 2336d5508b
3 changed files with 37 additions and 1 deletions

View file

@ -77,7 +77,7 @@ void msg_func(msg_type_t msg_type, const char *message_id, linefile_type linefil
message += vstringf(msg, args);
if (msg_type == VERIFIC_ERROR || msg_type == VERIFIC_WARNING || msg_type == VERIFIC_PROGRAM_ERROR)
log_warning("%s\n", message.c_str());
log_warning_noprefix("%s\n", message.c_str());
else
log("%s\n", message.c_str());
}