postgresql/src/lextest/scan.l
1997-09-08 03:20:18 +00:00

14 lines
226 B
Plaintext

%{
/*
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')
;
}