Skip to content

Commit 712d13c

Browse files
committed
better comment about maxBlankCount
1 parent 43d0e3f commit 712d13c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testlib.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3385,7 +3385,7 @@ void InStream::skipBlanks() {
33853385
// You can change maxBlankCount.
33863386
// Example: 'inf.maxBlankCount = 32 * 1024 * 1024;'.
33873387
if (blankCount > maxBlankCount)
3388-
quit(_pe, "Too many white-space characters skipped");
3388+
quitf(_pe, "Number of redundant consecutive white-space characters exceeds the limit (%d)", int(maxBlankCount));
33893389
reader->skipChar();
33903390
}
33913391
}

0 commit comments

Comments
 (0)