Skip to content

Commit

Permalink
Debug lines removed from liberty parser
Browse files Browse the repository at this point in the history
  • Loading branch information
joern274 committed May 17, 2024
1 parent ef7d1ff commit 70755de
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions plugins/liberty_parser/src/liberty_parser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -418,17 +418,10 @@ namespace hal
auto direction_str = pin_str.consume().string;
try
{
std::cerr << "Pin direction <" << direction_str << ">" << std::endl;
pin.direction = enum_from_string<PinDirection>(direction_str);
}
catch (const std::runtime_error&)
{
std::cerr << "Exception type runtime_error" << std::endl;
return ERR("could not parse pin: invalid pin direction '" + direction_str + "' (line " + std::to_string(pin.line_number) + ")");
}
catch (...)
{
std::cerr << "Exception type unknown" << std::endl;
return ERR("could not parse pin: invalid pin direction '" + direction_str + "' (line " + std::to_string(pin.line_number) + ")");
}

Expand Down

0 comments on commit 70755de

Please sign in to comment.