diff options
author | Nicholas Clark <nick@ccl4.org> | 2006-04-02 20:27:24 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2006-04-02 20:27:24 +0000 |
commit | a98fe34d09e2476f1a21bfb9dc730dc9ab02b0b4 (patch) | |
tree | 82fd9ed46a504f5d4f07def11218e8e31deaaffe /perl.h | |
parent | df4c34dc6f95fdf32fd0462242a4d4adc90fd779 (diff) | |
download | perl-a98fe34d09e2476f1a21bfb9dc730dc9ab02b0b4.tar.gz |
Change 27677 missed two direct accesses to op_private in COPs.
I believe that all are now found, as redefining CopHINTS_get(c)
to (~(c)->op_private) (with corresponding changes to CopHINTS_set()
and the initialisation of PL_compiling) works.
p4raw-id: //depot/perl@27687
Diffstat (limited to 'perl.h')
-rw-r--r-- | perl.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4988,7 +4988,7 @@ typedef struct am_table_short AMTS; #define SET_NUMERIC_LOCAL() \ set_numeric_local(); -#define IN_LOCALE_RUNTIME (PL_curcop->op_private & HINT_LOCALE) +#define IN_LOCALE_RUNTIME (CopHINTS_get(PL_curcop) & HINT_LOCALE) #define IN_LOCALE_COMPILETIME (PL_hints & HINT_LOCALE) #define IN_LOCALE \ |