blob: afc24ceb8479709f9703d769fc0fecd381f5308e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
%{
/*
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')
;
}
|