Skip to content

Commit

Permalink
liberty warn instead of error for include file
Browse files Browse the repository at this point in the history
  • Loading branch information
jjcherry56 committed Jun 26, 2022
1 parent a8a9b27 commit 097086e
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion liberty/LibertyParser.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -584,6 +585,12 @@ libertyParseError(const char *fmt, ...)
va_end(args);
}

void
deleteLibertyGroups()
{
liberty_group_stack.deleteContentsClear();
}

} // namespace

////////////////////////////////////////////////////////////////
Expand Down

0 comments on commit 097086e

Please sign in to comment.