Fixed a bug in the DTSC analyser
This commit is contained in:
parent
98e2583b4e
commit
b0aa5bd310
1 changed files with 4 additions and 0 deletions
|
@ -19,6 +19,10 @@ namespace Analysers {
|
||||||
///\return The return code of the analyser.
|
///\return The return code of the analyser.
|
||||||
int analyseDTSC(Util::Config conf){
|
int analyseDTSC(Util::Config conf){
|
||||||
DTSC::File F(conf.getString("filename"));
|
DTSC::File F(conf.getString("filename"));
|
||||||
|
if (!F){
|
||||||
|
std::cerr << "Not a valid DTSC file" << std::endl;
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
F.getMeta().toPrettyString(std::cout,0, 0x03);
|
F.getMeta().toPrettyString(std::cout,0, 0x03);
|
||||||
|
|
||||||
int bPos = 0;
|
int bPos = 0;
|
||||||
|
|
Loading…
Add table
Reference in a new issue