emitparseState(tr("<font color=\"red\">ERROR: In message %1 deprecated type <array> used near line %2 of file %3. Please change from array[size] to uint8_t[size] to get the same behaviour.\nAbort.</font>").arg(messageName,QString::number(e.lineNumber()),fileName));
emitparseState(tr("<font color=\"red\">ERROR: In message %1 inavlid array type %4 used near line %2 of file %3\nAbort.</font>").arg(messageName,QString::number(e.lineNumber()),fileName,arrayType));
emitparseState(tr("<font color=\"red\">ERROR: In message %1 inavlid array type %4 used near line %2 of file %3\nAbort.</font>").arg(messageName,QString::number(e.lineNumber()),fileName,arrayType));
emitparseState(tr("<font color=\"red\">ERROR: In message %1 inavlid array type %4 used near line %2 of file %3\nAbort.</font>").arg(messageName,QString::number(e.lineNumber()),fileName,arrayType));
}
returnfalse;
elseif(arrayType.contains("int8"))
}
{
calculatedLength+=arrayLength;
}
elseif(arrayType.contains("int16"))
{
calculatedLength+=arrayLength*2;
}
elseif(arrayType.contains("int32"))
{
calculatedLength+=arrayLength*4;
}
elseif(arrayType.contains("int64"))
{
calculatedLength+=arrayLength*8;
}
elseif(arrayType=="float")
{
calculatedLength+=arrayLength*4;
}
else
{
emitparseState(tr("<font color=\"red\">ERROR: In message %1 invalid array type %4 used near line %2 of file %3\nAbort.</font>").arg(messageName,QString::number(e.lineNumber()),fileName,arrayType));
emitparseState(tr("<font color=\"red\">ERROR: In message %1 inavlid type %4 used near line %2 of file %3\nAbort.</font>").arg(messageName,QString::number(e.lineNumber()),fileName,fieldType));
elseif(fieldType.contains("int16"))
returnfalse;
{
}
calculatedLength+=2;
}
elseif(fieldType.contains("int32"))
{
calculatedLength+=4;
}
elseif(fieldType.contains("int64"))
{
calculatedLength+=8;
}
elseif(fieldType=="float")
{
calculatedLength+=4;
}
else
{
emitparseState(tr("<font color=\"red\">ERROR: In message %1 inavlid type %4 used near line %2 of file %3\nAbort.</font>").arg(messageName,QString::number(e.lineNumber()),fileName,fieldType));