diff --git a/usr.bin/indent/lexi.c b/usr.bin/indent/lexi.c index a61f87e11a7..1200a394d43 100644 --- a/usr.bin/indent/lexi.c +++ b/usr.bin/indent/lexi.c @@ -191,13 +191,15 @@ lexi(void) } } while (1) { - if (!(seensfx & 1) && (*buf_ptr == 'U' || *buf_ptr == 'u')) { + if (!(seensfx & 1) && + (*buf_ptr == 'U' || *buf_ptr == 'u')) { CHECK_SIZE_TOKEN; *e_token++ = *buf_ptr++; seensfx |= 1; continue; } - if (!(seensfx & 2) && strchr("fFlL", *buf_ptr)) { + if (!(seensfx & 2) && + (*buf_ptr == 'L' || *buf_ptr == 'l')) { CHECK_SIZE_TOKEN; if (buf_ptr[1] == buf_ptr[0]) *e_token++ = *buf_ptr++;