diff options
Diffstat (limited to 'test/cond1.rl')
-rw-r--r-- | test/cond1.rl | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/test/cond1.rl b/test/cond1.rl index 620ea5e..7c3ffff 100644 --- a/test/cond1.rl +++ b/test/cond1.rl @@ -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;} |