aboutsummaryrefslogtreecommitdiff
path: root/src/parser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/parser.cpp')
-rw-r--r--src/parser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parser.cpp b/src/parser.cpp
index 404f82c07..50584eb51 100644
--- a/src/parser.cpp
+++ b/src/parser.cpp
@@ -3232,7 +3232,7 @@ Ast *parse_proc_type(AstFile *f, Token proc_token) {
if (f->in_foreign_block) {
cc = ProcCC_ForeignBlockDefault;
} else {
- cc = ProcCC_Odin;
+ cc = default_calling_convention();
}
}