mirror of
https://github.com/Ed94/Odin.git
synced 2026-07-28 18:30:06 +00:00
Fix typos and make demo work with -vet
This commit is contained in:
+4
-2
@@ -2016,8 +2016,10 @@ Type *type_to_abi_compat_result_type(gbAllocator a, Type *original_type, ProcCal
|
||||
break;
|
||||
}
|
||||
}
|
||||
} else if (build_context.ODIN_OS == "linux") {
|
||||
|
||||
} else if (build_context.ODIN_OS == "linux" || build_context.ODIN_OS == "darwin") {
|
||||
if (build_context.ODIN_ARCH == "amd64") {
|
||||
|
||||
}
|
||||
} else {
|
||||
// IMPORTANT TODO(bill): figure out the ABI settings for Linux, OSX etc. for
|
||||
// their architectures
|
||||
|
||||
+1
-1
@@ -1345,7 +1345,7 @@ bool is_semicolon_optional_for_node(AstFile *f, Ast *s) {
|
||||
case Ast_EnumType:
|
||||
case Ast_BitFieldType:
|
||||
// Require semicolon within a procedure body
|
||||
return f->curr_proc == false;
|
||||
return f->curr_proc == nullptr;
|
||||
case Ast_ProcLit:
|
||||
return true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user