Call expression, either handle all or ignore all results.

This commit is contained in:
Ginger Bill
2016-09-16 11:38:20 +01:00
parent 807256dea4
commit 968de5aae8
11 changed files with 226 additions and 86 deletions
+18 -6
View File
@@ -1,16 +1,28 @@
#import "runtime.odin" as _
#import "punity.odin" as punity
#import "punity.odin" as pn
#import "fmt.odin" as fmt
test :: proc() {
thing :: proc() {
thing :: proc() {
fmt.println("Hello1")
}
fmt.println("Hello")
}
}
main :: proc() {
init :: proc() {
test()
init :: proc(c: ^pn.Core) {
}
step :: proc() {
step :: proc(c: ^pn.Core) {
if pn.key_down(pn.Key.ESCAPE) {
c.running = false
}
}
punity.run(init, step)
pn.run(init, step)
}