scan.l 217 Bytes EditWeb IDE 1 2 3 4 5 6 7 8 9 10 11 /* This should work, but non-patched flex 2.5.3 fails because input() doesn't return EOF or '\0' Bruce Momjian <root@candle.pha.pa.us> */ %% . { int ch; while ((ch = input()) != EOF && ch != '\0') ; }