Make record semicolon syntax more consistent

This commit is contained in:
Ginger Bill
2017-07-10 14:52:58 +01:00
parent 66e4aaffc5
commit 069a47220e
5 changed files with 118 additions and 160 deletions
+2 -2
View File
@@ -8,12 +8,12 @@ __multi3 :: proc(a, b: u128) -> u128 #cc_c #link_name "__multi3" {
when ODIN_ENDIAN == "bit" {
TWords :: raw_union {
all: u128;
using _: struct {lo, hi: u64};
using _: struct {lo, hi: u64;};
};
} else {
TWords :: raw_union {
all: u128;
using _: struct {hi, lo: u64};
using _: struct {hi, lo: u64;};
};
}
+2 -2
View File
@@ -10,8 +10,8 @@ import (
_BUFFER_SIZE :: 1<<12;
StringBuffer :: union {
Static {buf: []u8};
Dynamic{buf: [dynamic]u8};
Static {buf: []u8;};
Dynamic{buf: [dynamic]u8;};
}
FmtInfo :: struct {