Mail Archives: djgpp/1997/05/11/03:21:05
Gary R Sekinger (sekinger+@andrew.cmu.edu) wrote:
> I'd like to have my grammar be case insensitive but this doesn't seem
> very easy. I've started specifying all the various combinations, which
> isn't very practical:
[snip]
Quoth the man page, flex command line options:
-i instructs flex to generate a case-insensitive scanner.
The case of letters given in the flex input patterns
will be ignored, and tokens in the input will be
matched regardless of case.
So if you 'flex' using the command line: flex -i blah.l
as far as the lexer is concerned seed == SEED == Seed == SeEd == ...
- Raw text -