1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
/* Generated by re2c */
// re2c $INPUT -o $OUTPUT -i --case-inverted
{
YYCTYPE yych;
if (YYLIMIT <= YYCURSOR) YYFILL(1);
yych = *YYCURSOR;
switch (yych) {
case 'A':
case 'a': goto yy2;
case 'b': goto yy3;
default: goto yy1;
}
yy1:
yy2:
++YYCURSOR;
{return 'a';}
yy3:
++YYCURSOR;
{return 'b';}
}
}
casing-flags_i_case_inverted.re:2:0: warning: control flow is undefined for strings that match '[\x0-\x40\x42-\x60\x63-\xFF]', use default rule '*' [-Wundefined-control-flow]
|