X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2FVariable-Magic.git;a=blobdiff_plain;f=Magic.xs;h=40b438f831bef3f0d35a5bae6f70960a873f655d;hp=33fc60e70e295a065e1a990fa0f878c0621ca3a3;hb=7afdaf8f49acc22b13ccfcee9bc03045d0a88036;hpb=5c32c65e51fca0ff49c43b814e9653e01b1e56f1 diff --git a/Magic.xs b/Magic.xs index 33fc60e..40b438f 100644 --- a/Magic.xs +++ b/Magic.xs @@ -391,6 +391,9 @@ typedef enum { OPc_COP, #if VMG_HAS_PERL(5, 21, 5) OPc_METHOP, +#endif +#if VMG_HAS_PERL(5, 21, 7) + OPc_UNOP_AUX, #endif OPc_MAX } opclass; @@ -410,6 +413,9 @@ static const char *const vmg_opclassnames[] = { "B::COP", #if VMG_HAS_PERL(5, 21, 5) "B::METHOP", +#endif +#if VMG_HAS_PERL(5, 21, 7) + "B::UNOP_AUX", #endif NULL }; @@ -486,6 +492,10 @@ static opclass vmg_opclass(const OP *o) { #if VMG_HAS_PERL(5, 21, 5) case OA_METHOP: return OPc_METHOP; +#endif +#if VMG_HAS_PERL(5, 21, 7) + case OA_UNOP_AUX: + return OPc_UNOP_AUX; #endif }