update(add) packaging directory and spec file from OBSTF:Private, OBS
[external/ragel.git] / test / cond1.rl
index 620ea5e..7c3ffff 100644 (file)
@@ -1,5 +1,6 @@
 /* 
  * @LANG: indep
+ * @ALLOW_GENFLAGS: -T0 -T1 -G0 -G1 -G2
  */
 bool i;
 bool j;
@@ -16,9 +17,9 @@ bool k;
        action two { prints "  two\n";}
        action three { prints "  three\n";}
 
-       action seti { if ( fc == '0' ) i = false; else i = true; }
-       action setj { if ( fc == '0' ) j = false; else j = true; }
-       action setk { if ( fc == '0' ) k = false; else k = true; }
+       action seti { if ( fc == 48 ) i = false; else i = true; }
+       action setj { if ( fc == 48 ) j = false; else j = true; }
+       action setk { if ( fc == 48 ) k = false; else k = true; }
 
        action break {fbreak;}