diff options
| author | gingerBill <bill@gingerbill.org> | 2022-02-16 16:04:20 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2022-02-16 16:04:20 +0000 |
| commit | 8e8a075a2232038eb3a24e2b7b0a0b183d13b89d (patch) | |
| tree | 281af208f9cdc367ba793991c3242db94a1eb851 /src/parser.cpp | |
| parent | 65dedbb1caaa785a444d32a7a15adaf6c396b07f (diff) | |
| parent | db6bd9b358f17c0259ff5fe6411ce93407613338 (diff) | |
Merge branch 'master' into directx-packages
Diffstat (limited to 'src/parser.cpp')
| -rw-r--r-- | src/parser.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/parser.cpp b/src/parser.cpp index b55d745f1..7309d9769 100644 --- a/src/parser.cpp +++ b/src/parser.cpp @@ -3412,12 +3412,18 @@ ProcCallingConvention string_to_calling_convention(String s) { if (s == "fast") return ProcCC_FastCall; if (s == "none") return ProcCC_None; if (s == "naked") return ProcCC_Naked; + + if (s == "win64") return ProcCC_Win64; + if (s == "sysv") return ProcCC_SysV; + if (s == "system") { if (build_context.metrics.os == TargetOs_windows) { return ProcCC_StdCall; } return ProcCC_CDecl; } + + return ProcCC_Invalid; } |