Fix formating

Signed-off-by: YRabbit <rabbit@yrabbit.cyou>
This commit is contained in:
YRabbit 2021-07-07 22:53:49 +10:00
parent 5d8b27710d
commit d613626ab9

View File

@ -496,7 +496,7 @@ void Arch::read_cst(std::istream &in)
if (std::regex_match(line, match, portre)) { if (std::regex_match(line, match, portre)) {
io_loc = false; io_loc = false;
} else { } else {
if ( (!line.empty()) && (line.rfind("//", 0) == std::string::npos)) { if ((!line.empty()) && (line.rfind("//", 0) == std::string::npos)) {
log_warning("Invalid constraint: %s\n", line.c_str()); log_warning("Invalid constraint: %s\n", line.c_str());
} }
continue; continue;
@ -520,7 +520,7 @@ void Arch::read_cst(std::istream &in)
std::string attr = "&"; std::string attr = "&";
attr += match[2]; attr += match[2];
boost::algorithm::to_upper(attr); boost::algorithm::to_upper(attr);
it->second->attrs[id(attr)] = 1; it->second->attrs[id(attr)] = 0;
} }
} }
} }