summaryrefslogtreecommitdiffstats
path: root/Modules/_sre/sre_lib.h
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2022-04-26 18:07:25 (GMT)
committerGitHub <noreply@github.com>2022-04-26 18:07:25 (GMT)
commitf703c96cf08a0d65e718e7acfb043cbc49812a22 (patch)
treecae575ff8bf54cd1ea44867be9d20c6ff4dd035d /Modules/_sre/sre_lib.h
parent1af871eeee4a01cc21a6960d087e9ab8ce4c9f4d (diff)
downloadcpython-f703c96cf08a0d65e718e7acfb043cbc49812a22.zip
cpython-f703c96cf08a0d65e718e7acfb043cbc49812a22.tar.gz
cpython-f703c96cf08a0d65e718e7acfb043cbc49812a22.tar.bz2
gh-91870: Remove unsupported SRE opcode CALL (GH-91872)
It was initially added to support atomic groups, but that support was never fully implemented, and CALL was only left in the compiler, but not interpreter and parser. ATOMIC_GROUP is now used to support atomic groups.
Diffstat (limited to 'Modules/_sre/sre_lib.h')
-rw-r--r--Modules/_sre/sre_lib.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/Modules/_sre/sre_lib.h b/Modules/_sre/sre_lib.h
index efd6fde..1e5b501 100644
--- a/Modules/_sre/sre_lib.h
+++ b/Modules/_sre/sre_lib.h
@@ -1547,7 +1547,6 @@ dispatch:
TARGET(SRE_OP_NEGATE):
TARGET(SRE_OP_BIGCHARSET):
TARGET(SRE_OP_CHARSET):
- TARGET(SRE_OP_CALL):
TRACE(("|%p|%p|UNKNOWN %d\n", pattern, ptr,
pattern[-1]));
RETURN_ERROR(SRE_ERROR_ILLEGAL);