mirror of
https://github.com/trabucayre/openFPGALoader.git
synced 2026-08-30 18:02:38 +02:00
Merge pull request #650 from zyp/bitparser_unknown_key
bitparser: Relax unknown keys from error to warning
This commit is contained in:
+3
-2
@@ -111,9 +111,10 @@ int BitParser::parseHeader()
|
||||
_hdr["version"] = value;
|
||||
} else if (key == "SW_CRC") {
|
||||
_hdr["crc"] = value;
|
||||
} else if (key == "COMPRESS") {
|
||||
_hdr["compress"] = value;
|
||||
} else {
|
||||
printError("Unknown key " + key);
|
||||
return -1;
|
||||
printWarn("Unknown key " + key);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user