Change of proc and type declaration syntax to "prefix" style
`proc name()` from `name :: proc()`
This commit is contained in:
1 parent
062a2c63e1
commit
5217eb55b4
14 files changed
+437
-421
No files matched your search
+12
-12
@@ -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 {
|
||||
}
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user