> I'm running PC-Lint on the Scintilla code base, and it reported a
> potentially unintended fallthrough in a switch case.
>...
> case 'S':
> for (c = 0; c < MAXCHR; c++) {
> if (c != ' ' && !(c >= 0x09 && c <= 0x0D)) {
> ChSet(static_cast<unsigned char>(c));
> }
> }
> case 'w':
While it isn't intended it should actually be OK. 'S' is the set of
non-space characters and 'w' is the set of word characters. All of the
'w' should already be set in 'S' unless there space characters are
allowed in words.
Fixed.
My experience with PC-Lint is that it produces a very large number
of low value warnings until you build a good suppression file so I
don't intend to fix all PC-Lint warnings.
Neil