Change of proc and type declaration syntax to "prefix" style

`proc name()` from `name :: proc()`
This commit is contained in:
Ginger Bill
2016-12-18 20:34:55 +00:00
parent 062a2c63e1
commit 5217eb55b4
14 changed files with 437 additions and 421 deletions

View File

@@ -1,14 +1,14 @@
Test1 :: type union {
A: int;
B: int;
};
#import "atomic.odin";
#import "fmt.odin";
#import "hash.odin";
#import "math.odin";
#import "mem.odin";
#import "opengl.odin";
#import "os.odin";
#import "sync.odin";
#import "utf8.odin";
Test :: type struct {
a: Test1;
};
proc main() {
fmt.println("Here");
main :: proc() {
test: Test;
match type x : ^test.a {
}
};
}