Declaration grouping uses braces rather than parentheses

This commit is contained in:
Ginger Bill
2017-06-13 15:04:23 +01:00
parent 6b464e3558
commit 6a88dc322a
27 changed files with 184 additions and 200 deletions
+4 -4
View File
@@ -1,7 +1,7 @@
import (
import {
"fmt.odin";
"os.odin";
)
}
foreign __llvm_core {
proc swap(b: u16) -> u16 #link_name "llvm.bswap.i16";
proc swap(b: u32) -> u32 #link_name "llvm.bswap.i32";
@@ -80,7 +80,7 @@ proc allocation_header(data: rawptr) -> ^AllocationHeader {
// Custom allocators
type (
type {
Arena struct {
backing: Allocator,
offset: int,
@@ -92,7 +92,7 @@ type (
arena: ^Arena,
original_count: int,
}
)
}