This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Teach Deparse about coderefs in stashes
[perl5.git] / feature.h
index ef45858..698302c 100644 (file)
--- a/feature.h
+++ b/feature.h
@@ -27,7 +27,7 @@
           & HINT_LOCALIZE_HH)                                            \
            ? Perl_feature_is_enabled(aTHX_ STR_WITH_LEN(name)) : FALSE)
 /* The longest string we pass in.  */
-#define MAX_FEATURE_LEN (sizeof("evalbytes")-1)
+#define MAX_FEATURE_LEN (sizeof("postderef_qq")-1)
 
 #define FEATURE_FC_IS_ENABLED \
     ( \
         FEATURE_IS_ENABLED("arybase")) \
     )
 
+#define FEATURE_SIGNATURES_IS_ENABLED \
+    ( \
+       CURRENT_FEATURE_BUNDLE == FEATURE_BUNDLE_CUSTOM && \
+        FEATURE_IS_ENABLED("signatures") \
+    )
+
 #define FEATURE___SUB___IS_ENABLED \
     ( \
        CURRENT_FEATURE_BUNDLE == FEATURE_BUNDLE_515 \
         FEATURE_IS_ENABLED("lexsubs") \
     )
 
+#define FEATURE_POSTDEREF_QQ_IS_ENABLED \
+    ( \
+       CURRENT_FEATURE_BUNDLE == FEATURE_BUNDLE_CUSTOM && \
+        FEATURE_IS_ENABLED("postderef_qq") \
+    )
+
 #define FEATURE_UNIEVAL_IS_ENABLED \
     ( \
        CURRENT_FEATURE_BUNDLE == FEATURE_BUNDLE_515 \