diff options
| author | gingerBill <bill@gingerbill.org> | 2021-06-08 14:33:49 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2021-06-08 14:33:49 +0100 |
| commit | f19bb0f4d45ba4352c4392807ca2b1efe5918ea7 (patch) | |
| tree | 852f3256f8f7e0fd85a95de69cde84b6f17992e5 /src/parser.cpp | |
| parent | 76bb82a7260158cb1ecd5d2da1b775fbdb1f0b7d (diff) | |
Make default calling convention code more correct to read
Diffstat (limited to 'src/parser.cpp')
| -rw-r--r-- | src/parser.cpp | 2 |
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(); } } |