mirror of
https://github.com/Ed94/Odin.git
synced 2026-07-31 11:50:07 +00:00
Go/BCPL style semicolon insertion during tokenizing stage
This commit is contained in:
+4
-14
@@ -1,18 +1,8 @@
|
||||
#import "fmt.odin";
|
||||
|
||||
A :: type struct {
|
||||
b: B;
|
||||
};
|
||||
B :: type struct {
|
||||
c: C;
|
||||
};
|
||||
C :: type struct {
|
||||
a: A;
|
||||
};
|
||||
#import "fmt.odin"
|
||||
|
||||
main :: proc() {
|
||||
fmt.println(size_of(A));
|
||||
fmt.println(size_of(B));
|
||||
fmt.println(size_of(C));
|
||||
if true {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user