liberty warn instead of error for include file

This commit is contained in:
James Cherry 2022-06-26 03:26:37 +00:00
parent a8a9b27077
commit 097086eaad
1 changed files with 8 additions and 1 deletions

View File

@ -547,7 +547,8 @@ libertyIncludeBegin(const char *filename)
liberty_line = 1;
}
else
libertyParseError("cannot open include file %s.", filename);
liberty_report->fileWarn(25, sta::liberty_filename, sta::liberty_line,
"cannot open include file %s.", filename);
}
void
@ -584,6 +585,12 @@ libertyParseError(const char *fmt, ...)
va_end(args);
}
void
deleteLibertyGroups()
{
liberty_group_stack.deleteContentsClear();
}
} // namespace
////////////////////////////////////////////////////////////////