mirror of
https://github.com/Ed94/Odin.git
synced 2026-07-14 23:21:25 -07:00
Add string_set.cpp; Code clean up
This commit is contained in:
+1
-1
@@ -2126,7 +2126,7 @@ void check_collect_value_decl(Checker *c, AstNode *decl) {
|
||||
GB_ASSERT(pl->type->kind == AstNode_ProcType);
|
||||
auto cc = pl->type->ProcType.calling_convention;
|
||||
if (cc == ProcCC_ForeignBlockDefault) {
|
||||
cc = ProcCC_C;
|
||||
cc = ProcCC_CDecl;
|
||||
if (c->context.default_foreign_cc > 0) {
|
||||
cc = c->context.default_foreign_cc;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user