mirror of
https://github.com/Ed94/Odin.git
synced 2026-07-29 10:50:05 +00:00
Make record semicolon syntax more consistent
This commit is contained in:
@@ -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
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user