X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl.h;h=ea01ddad8cff79a0ef3ef5a04213e80858c122d6;hb=17fda5459df9207789e2c93a13c6057a90cf1f93;hp=5da4f62579a239234bc77a4b59a9870610f2113d;hpb=ff7298cbf9257c89a24403f4c51889c5bc71c44c;p=p5sagit%2Fp5-mst-13.2.git diff --git a/perl.h b/perl.h index 5da4f62..ea01dda 100644 --- a/perl.h +++ b/perl.h @@ -4019,6 +4019,9 @@ EXTCONST char* const PL_block_type[] = { "LOOP", "SUBST", "BLOCK", + "FORMAT", + "GIVEN", + "WHEN" }; #else EXTCONST char* PL_block_type[]; @@ -4134,6 +4137,9 @@ enum { /* pass one of these to get_vtbl */ #define HINT_ASSERTING 0x01000000 #define HINT_ASSERTIONSSEEN 0x02000000 +#define HINT_HH_FOR_EVAL 0x04000000 /* Squirrel a copy of %^H away + * with every eval "string" */ + /* The following are stored in $sort::hints, not in PL_hints */ #define HINT_SORT_SORT_BITS 0x000000FF /* allow 256 different ones */ #define HINT_SORT_QUICKSORT 0x00000001 @@ -4725,7 +4731,10 @@ enum { to_sv_amg, to_av_amg, to_hv_amg, to_gv_amg, to_cv_amg, iter_amg, - int_amg, DESTROY_amg, + int_amg, smart_amg, + + /* Note: Perl_Gv_AMupdate() assumes that DESTROY is the last entry */ + DESTROY_amg, max_amg_code /* Do not leave a trailing comma here. C9X allows it, C89 doesn't. */ }; @@ -4772,7 +4781,8 @@ EXTCONST char * const PL_AMG_names[NofAMmeth] = { "(${}", "(@{}", "(%{}", "(*{}", "(&{}", "(<>", - "(int", "DESTROY", + "(int", "(~~", + "DESTROY" }; #else EXTCONST char * PL_AMG_names[NofAMmeth];