summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/perl/feature.h
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.bin/perl/feature.h')
-rw-r--r--gnu/usr.bin/perl/feature.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gnu/usr.bin/perl/feature.h b/gnu/usr.bin/perl/feature.h
index dc9696ec9c3..215a4d50465 100644
--- a/gnu/usr.bin/perl/feature.h
+++ b/gnu/usr.bin/perl/feature.h
@@ -81,6 +81,12 @@
FEATURE_IS_ENABLED("__SUB__")) \
)
+#define FEATURE_LEXSUBS_IS_ENABLED \
+ ( \
+ CURRENT_FEATURE_BUNDLE == FEATURE_BUNDLE_CUSTOM && \
+ FEATURE_IS_ENABLED("lexsubs") \
+ )
+
#define FEATURE_UNIEVAL_IS_ENABLED \
( \
CURRENT_FEATURE_BUNDLE == FEATURE_BUNDLE_515 \