diff options
Diffstat (limited to 'usr.bin/indent')
-rw-r--r-- | usr.bin/indent/lexi.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/usr.bin/indent/lexi.c b/usr.bin/indent/lexi.c index 09a1bd26232..e1d5ad30a8d 100644 --- a/usr.bin/indent/lexi.c +++ b/usr.bin/indent/lexi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: lexi.c,v 1.17 2014/10/11 03:05:48 doug Exp $ */ +/* $OpenBSD: lexi.c,v 1.18 2015/01/22 05:35:27 jsg Exp $ */ /* * Copyright (c) 1980, 1993 @@ -202,6 +202,12 @@ lexi(void) } break; } + if (!(seensfx & 1) && + (*buf_ptr == 'F' || *buf_ptr == 'f')) { + CHECK_SIZE_TOKEN; + *e_token++ = *buf_ptr++; + seensfx |= 1; + } } else while (chartype[(int)*buf_ptr] == alphanum) { /* copy it over */ |