3 * @ALLOW_GENFLAGS: -T0 -T1 -G0 -G1 -G2
16 action one { prints " one\n";}
17 action two { prints " two\n";}
18 action three { prints " three\n";}
20 action seti { if ( fc == 48 ) i = false; else i = true; }
21 action setj { if ( fc == 48 ) j = false; else j = true; }
22 action setk { if ( fc == 48 ) k = false; else k = true; }
24 action break {fbreak;}
26 one = 'a' 'b' when c1 'c' @one;
27 two = 'a'* 'b' when c2 'c' @two;
28 three = 'a'+ 'b' when c3 'c' @three;
34 ( one | two | three ) '\n' @break;