improved error message
This commit is contained in:
@ -1255,7 +1255,7 @@ compileString(StreamBuffer& buffer, const char*& source,
|
|||||||
// so that extra information is ready for format converter
|
// so that extra information is ready for format converter
|
||||||
if (numFormats+1 == sizeof(formatPos))
|
if (numFormats+1 == sizeof(formatPos))
|
||||||
{
|
{
|
||||||
errorMsg(line, "Too many formats in line");
|
errorMsg(line, "Max 20 formats allowed in one protocol line");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
formatPos[numFormats++]=buffer.length();
|
formatPos[numFormats++]=buffer.length();
|
||||||
|
Reference in New Issue
Block a user