1// re2c $INPUT -o $OUTPUT -i
2// In this example initial state coincides with fallback state
3// which must update 'yyaccept'. There is a loop through initial
4// state that changes 'yyaccept' value, so if the initial state
5// forgets to update 'yyaccept', the wrong rule will match.
6
7/*!re2c
8
9    "abab"* { 1 }
10    "ab"*   { 2 }
11
12*/
13