You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Commented by lsf37 on 2003-06-10 10:26 UTC
Logged In: YES
user_id=93534
I'm tempted to say that this is not a bug, but a feature.
As specified in the manual, %ignorecase should not work on
character classes.
The problem is that %ignorecase in JFlex is older than the
same option in JLex and JLex behaves differently. If I now
change %ignorecase to the JLex behaviour existing JFLex
specifications might no longer work.
I will propably add a command line switch --jlex or
something similar to force the JLex behaviour. This way
you can choose what you like better, and it might also be
useful for other JLex issues.
*Reported by anonymous on 2003-06-10 06:50 UTC
JLex generated lexer parses string "aEiU" with following
lexer definition
%%
%ignorecase
VOWEL=[aeiouy]
%%
{VOWEL}+ { return 2; }
but JFlex generated parser fails, because it doesn't
properly handles character class definition with respect
to case sensitivity.
Osvaldas
The text was updated successfully, but these errors were encountered: