aboutsummaryrefslogtreecommitdiff
path: root/src/check_decl.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2021-02-23 13:10:23 +0000
committergingerBill <bill@gingerbill.org>2021-02-23 13:10:23 +0000
commit28ed310f317d48835f089b6a6102259696b0f84c (patch)
tree80ce57ddd4d997d75458c108ce858fac24f10349 /src/check_decl.cpp
parenta652c24ac3c8e592d413b3d3123e750fcaf314db (diff)
Remove `"pure"` and `"pure_none"` calling conventions
Diffstat (limited to 'src/check_decl.cpp')
-rw-r--r--src/check_decl.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/check_decl.cpp b/src/check_decl.cpp
index aed830530..c41090ecc 100644
--- a/src/check_decl.cpp
+++ b/src/check_decl.cpp
@@ -1180,9 +1180,6 @@ void check_proc_body(CheckerContext *ctx_, Token token, DeclInfo *decl, Type *ty
case ProcCC_None:
error(body, "Procedures with the calling convention \"none\" are not allowed a body");
break;
- case ProcCC_PureNone:
- error(body, "Procedures with the calling convention \"pure_none\" are not allowed a body");
- break;
}
}