mirror of https://github.com/openXC7/prjxray.git
Revert "segmath: fixup inverted logic for --exclude_known"
Does not work as intended. Remove to avoid confusion. This reverts commit 80d8d6d8d3bc5e7ad5c72c9998777b5e0590ec30. Signed-off-by: Rick Altherr <kc8apf@kc8apf.net> Signed-off-by: Tim 'mithro' Ansell <mithro@mithis.com>
This commit is contained in:
parent
d2a4cbfd75
commit
76210b02c5
|
|
@ -175,7 +175,7 @@ void read_input(std::istream &f, std::string filename)
|
|||
|
||||
f >> token;
|
||||
|
||||
if (exclude_bits.find(token) != exclude_bits.end())
|
||||
if (exclude_bits.find(token) == exclude_bits.end())
|
||||
continue;
|
||||
|
||||
if (bit_ids.count(token) == 0) {
|
||||
|
|
@ -196,7 +196,7 @@ void read_input(std::istream &f, std::string filename)
|
|||
|
||||
f >> token;
|
||||
|
||||
if (exclude_tags.find(token) != exclude_tags.end()) {
|
||||
if (exclude_tags.find(token) == exclude_tags.end()) {
|
||||
// Consume the rest of the line.
|
||||
f >> token;
|
||||
continue;
|
||||
|
|
|
|||
Loading…
Reference in New Issue