defer should now would properly with break and continue

This commit is contained in:
Nathan Braswell
2016-01-25 22:48:41 -05:00
parent 9973bc3bd3
commit 693134b499
3 changed files with 71 additions and 36 deletions

View File

@@ -1,4 +1,12 @@
fun simple_println(to_print: *char) {
simple_print(to_print)
simple_print("\n")
}
fun simple_println(to_print: int) {
simple_print(to_print)
simple_print("\n")
}
fun simple_print(to_print: *char) {
__if_comp__ __C__ simple_passthrough(to_print::) """
printf("%s", to_print);