]> git.vpit.fr Git - perl/modules/re-engine-Plugin.git/commitdiff
Get rid of ENTERn/LEAVEn
authorVincent Pit <vince@profvince.com>
Thu, 6 Jan 2011 01:13:43 +0000 (02:13 +0100)
committerVincent Pit <vince@profvince.com>
Thu, 6 Jan 2011 01:13:53 +0000 (02:13 +0100)
They are no longer needed since 4327f8c53cab465ee6892481b01717664fb6c973.

Plugin.xs

index 7c01ad5364e2a63d7ba09d5c11446824ce6412df..07a5d259d0854c66e7ddaee7e842630f53975642 100644 (file)
--- a/Plugin.xs
+++ b/Plugin.xs
 
 #define REP_HAS_PERL(R, V, S) (PERL_REVISION > (R) || (PERL_REVISION == (R) && (PERL_VERSION > (V) || (PERL_VERSION == (V) && (PERL_SUBVERSION >= (S))))))
 
-#undef ENTERn
-#if defined(ENTER_with_name) && !REP_HAS_PERL(5, 11, 4)
-# define ENTERn(N) ENTER_with_name(N)
-#else
-# define ENTERn(N) ENTER
-#endif
-
-#undef LEAVEn
-#if defined(LEAVE_with_name) && !REP_HAS_PERL(5, 11, 4)
-# define LEAVEn(N) LEAVE_with_name(N)
-#else
-# define LEAVEn(N) LEAVE
-#endif
-
 #ifndef REP_WORKAROUND_REQUIRE_PROPAGATION
 # define REP_WORKAROUND_REQUIRE_PROPAGATION !REP_HAS_PERL(5, 10, 1)
 #endif