Added preliminary loop parsing
Signed-off-by: luccie-cmd <hoedje201@gmail.com> Signed-off-by: Lorenzo Torres <lorenzo@sagittarius-a.org>
This commit is contained in:
parent
eaebcd7bdd
commit
0015c2b81d
4 changed files with 428 additions and 118 deletions
20
test.c
20
test.c
|
|
@ -1,5 +1,17 @@
|
|||
import example.test.idk.idk;
|
||||
//import example.test.idk.idk;
|
||||
|
||||
hello:
|
||||
goto test;
|
||||
return 5;
|
||||
//hello:
|
||||
//goto test;
|
||||
//return 5;
|
||||
|
||||
// loop(0..15) |i| {
|
||||
// printf("%d\n", i);
|
||||
// }
|
||||
|
||||
return 6;
|
||||
|
||||
loop (0.., list) |i, v| {
|
||||
printf("%d\n", i);
|
||||
}
|
||||
|
||||
return 7;
|
||||
Loading…
Add table
Add a link
Reference in a new issue