source: tests/ctrl-flow/.expect/loop_else.txt @ 508cff0

Last change on this file since 508cff0 was 88bc876, checked in by Andrew Beach <ajbeach@…>, 4 months ago

Breaks (and some other control flow) in a loop else clause now work. I also implemented else clauses in printing and code generation.

  • Property mode set to 100644
File size: 1.9 KB
Line 
1empty
2empty
3empty
4
5false else
6
7else zero
8A else
9A A A A A A A A A A else
10A A A A A A A A A A A else
11B B B B B else
12C C C C C else
13D D D D D else
14E E E E E else
15
160 1 2 3 4 5 6 7 8 9 else
170 1 2 3 4 5 6 7 8 9 10 else
181 3 5 7 9 else
1910 8 6 4 2 else
200.5 1.5 2.5 3.5 4.5 else
215.5 4.5 3.5 2.5 1.5 else
222 4 6 8 10 else
2310 8 6 4 2 else
24
251 2 3 4 5 6 7 8 9 10
2610 9 8 7 6 5 4 3 2 1 0
272 4 6 8 10
282.1 3.8 5.5 7.2 8.9
2910 8 6 4 2 0
3012.1 10.4 8.7 7. 5.3 3.6
31
32N N N N N N N N N N else
330 1 2 3 4 5 6 7 8 9 else
340 1 2 3 4 5 6 7 8 9 10 else
3510 9 8 7 6 5 4 3 2 1 0 else
36
373 6 9 else
38
390 -5 1 -4 2 -3 3 -2 4 -1 5 0 6 1 7 2 8 3 9 4 else
400 -5 1 -6 2 -7 3 -8 4 -9 5 -10 6 -11 7 -12 8 -13 9 -14 else
410 -5 1 -3 2 -1 3 1 4 3 5 5 6 7 7 9 8 11 9 13 else
420 -5 1 -7 2 -9 3 -11 4 -13 5 -15 6 -17 7 -19 8 -21 9 -23 else
43
440 -5 1 -4 2 -3 3 -2 4 -1 5 0 6 1 7 2 8 3 9 4 else
450 -5 1 -6 2 -7 3 -8 4 -9 5 -10 6 -11 7 -12 8 -13 9 -14 else
460 -5 1 -3 2 -1 3 1 4 3 5 5 6 7 7 9 8 11 9 13 else
470 -5 1 -7 2 -9 3 -11 4 -13 5 -15 6 -17 7 -19 8 -21 9 -23 else
48
490 -5 1.5 1 -7 2.5 2 -9 3.5 3 -11 4.5 4 -13 5.5 5 -15 6.5 6 -17 7.5 7 -19 8.5 8 -21 9.5 9 -23 10.5 else
500 -5 1.5 1 -7 2.5 2 -9 3.5 3 -11 4.5 4 -13 5.5 5 -15 6.5 6 -17 7.5 7 -19 8.5 8 -21 9.5 9 -23 10.5 else
510 -5 1.5 1 -7 2.5 2 -9 3.5 3 -11 4.5 4 -13 5.5 5 -15 6.5 6 -17 7.5 7 -19 8.5 8 -21 9.5 9 -23 10.5 else
52(0 0)(1 1)(2 2)(3 3)(4 4)(5 5)(6 6)(7 7)(8 8)(9 9)else
53(0 0)(1 1)(2 2)(3 3)(4 4)(5 5)(6 6)(7 7)(8 8)(9 9)else
54
55(0 0)(1 1)(2 2)(3 3)(4 4)(5 5)(6 6)(7 7)(8 8)(9 9)else
56(0 0)(1 1)(2 2)(3 3)(4 4)(5 5)(6 6)(7 7)(8 8)(9 9)else
57(0 0)(1 1)(2 2)(3 3)(4 4)(5 5)(6 6)(7 7)(8 8)(9 9)(10 10)else
58(0 0)(1 1)(2 2)(3 3)(4 4)(5 5)(6 6)(7 7)(8 8)(9 9)(10 10)else
59
60(10 10)(9 9)(8 8)(7 7)(6 6)(5 5)(4 4)(3 3)(2 2)(1 1)else
61(10 10)(9 9)(8 8)(7 7)(6 6)(5 5)(4 4)(3 3)(2 2)(1 1)else
62(10 10)(9 9)(8 8)(7 7)(6 6)(5 5)(4 4)(3 3)(2 2)(1 1)(0 0)else
63(10 10)(9 9)(8 8)(7 7)(6 6)(5 5)(4 4)(3 3)(2 2)(1 1)(0 0)else
64
65before begin else after
Note: See TracBrowser for help on using the repository browser.