diff options
| author | gingerBill <bill@gingerbill.org> | 2017-10-30 20:26:05 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2017-10-30 20:26:05 +0000 |
| commit | 414486829a539095062c3c035df729c11f7f4235 (patch) | |
| tree | c1c8cc403a26b07bb34812a07a1d9b2fde72c6bf /src/checker.cpp | |
| parent | 3e05be8eb8b14729b63ee541d11b3deb19b38710 (diff) | |
Add string_set.cpp; Code clean up
Diffstat (limited to 'src/checker.cpp')
| -rw-r--r-- | src/checker.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/checker.cpp b/src/checker.cpp index 180c99a73..4d7b7e83a 100644 --- a/src/checker.cpp +++ b/src/checker.cpp @@ -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; } |