summaryrefslogtreecommitdiff
path: root/pp_sort.c
diff options
context:
space:
mode:
authorPaul "LeoNerd" Evans <leonerd@leonerd.org.uk>2021-05-31 22:35:40 +0100
committerPaul Evans <leonerd@leonerd.org.uk>2021-06-02 00:29:54 +0100
commiteb7e169eaa8ff0e7e9a629f87889b08c355568e1 (patch)
tree50b61983fb3eb7854cb0b1933fc41007a37f95d2 /pp_sort.c
parent499aa13271ff03425a8258615a0702c5b830be8b (diff)
downloadperl-eb7e169eaa8ff0e7e9a629f87889b08c355568e1.tar.gz
Rename G_ARRAY to G_LIST; provide back-compat when not(PERL_CORE)
Diffstat (limited to 'pp_sort.c')
-rw-r--r--pp_sort.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pp_sort.c b/pp_sort.c
index 253c2977d0..adb2fee6b1 100644
--- a/pp_sort.c
+++ b/pp_sort.c
@@ -716,7 +716,7 @@ PP(pp_sort)
if ((priv & OPpSORT_UNSTABLE) != 0)
sort_flags |= SORTf_UNSTABLE;
- if (gimme != G_ARRAY) {
+ if (gimme != G_LIST) {
SP = MARK;
EXTEND(SP,1);
RETPUSHUNDEF;