mirror of
https://github.com/YosysHQ/yosys
synced 2025-05-11 17:54:44 +00:00
check: promote some problems to errors by default, add -permissive
This commit is contained in:
parent
ecf9c9f0cf
commit
c7cd70b103
3 changed files with 58 additions and 20 deletions
|
@ -400,6 +400,16 @@ void log_file_error(const string &filename, int lineno,
|
|||
logv_file_error(filename, lineno, format, ap);
|
||||
}
|
||||
|
||||
std::string fmt(const char *format, ...)
|
||||
{
|
||||
std::string s;
|
||||
va_list ap;
|
||||
va_start(ap, format);
|
||||
s = vstringf(format, ap);
|
||||
va_end(ap);
|
||||
return s;
|
||||
}
|
||||
|
||||
void log(const char *format, ...)
|
||||
{
|
||||
va_list ap;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue