diff options
| author | gingerBill <bill@gingerbill.org> | 2020-05-23 13:38:06 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2020-05-23 13:38:06 +0100 |
| commit | aa029fe8d9d48477f0be27fa79f8c541451a8a0a (patch) | |
| tree | b15ec4c1364b527ac6337385b31998326ab85605 /src/parser.cpp | |
| parent | ef539696b9540cc45a4343f0fecdb4bbcb1a8a0e (diff) | |
Add `"pure"` procedure types
Diffstat (limited to 'src/parser.cpp')
| -rw-r--r-- | src/parser.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/parser.cpp b/src/parser.cpp index 8bde4a403..6a6a4ecd0 100644 --- a/src/parser.cpp +++ b/src/parser.cpp @@ -2987,6 +2987,7 @@ Ast *parse_results(AstFile *f, bool *diverging) { ProcCallingConvention string_to_calling_convention(String s) { if (s == "odin") return ProcCC_Odin; if (s == "contextless") return ProcCC_Contextless; + if (s == "pure") return ProcCC_Pure; if (s == "cdecl") return ProcCC_CDecl; if (s == "c") return ProcCC_CDecl; if (s == "stdcall") return ProcCC_StdCall; |