Update read_xml_repack_design_constraints.cpp

code clean up
This commit is contained in:
Yitian4Debug 2023-12-05 10:13:53 -08:00 committed by GitHub
parent e6c9d22ce9
commit 1d0d8c5417
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -127,12 +127,12 @@ RepackDesignConstraints read_xml_repack_design_constraints(
if (xml_design_constraint.name() == std::string("pin_constraint")) {
read_xml_pin_constraint(xml_design_constraint, loc_data,
repack_design_constraints);
} else if (xml_design_constraint.name() ==
std::string("ignore_net")) {
} else if (xml_design_constraint.name() == std::string("ignore_net")) {
read_xml_ignore_net_constraint(xml_design_constraint, loc_data,
repack_design_constraints);
} else {
bad_tag(xml_design_constraint, loc_data, xml_root, {"pin_constraint", "ignore_net"});
bad_tag(xml_design_constraint, loc_data, xml_root,
{"pin_constraint", "ignore_net"});
}
}
} catch (pugiutil::XmlError& e) {