summaryrefslogtreecommitdiff
path: root/embedvar.h
diff options
context:
space:
mode:
authorZefram <zefram@fysh.org>2010-10-13 19:59:23 +0100
committerFather Chrysostomos <sprout@cpan.org>2010-10-21 05:52:39 -0700
commit737c24fc85ea612b3265f06a29053674bfbe17bd (patch)
tree3741fc528606f4639eb64ee7af38f062516fd865 /embedvar.h
parentf07ec6dd59215a56bc1159449a9631be7a02a94d (diff)
downloadperl-737c24fc85ea612b3265f06a29053674bfbe17bd.tar.gz
replace PL_doextract with better kinds of variable
PL_doextract had two unrelated jobs, neither best served by an interpreter global variable. The first was to track the -x command-line switch. That is replaced with a local variable in S_parse_body(). The second was to track whether the lexer is in the middle of a =pod section. That is replaced with an element in PL_parser.
Diffstat (limited to 'embedvar.h')
-rw-r--r--embedvar.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/embedvar.h b/embedvar.h
index b7f245476e..262ddb0d3c 100644
--- a/embedvar.h
+++ b/embedvar.h
@@ -119,7 +119,6 @@
#define PL_destroyhook (vTHX->Idestroyhook)
#define PL_diehook (vTHX->Idiehook)
#define PL_dirty (vTHX->Idirty)
-#define PL_doextract (vTHX->Idoextract)
#define PL_doswitches (vTHX->Idoswitches)
#define PL_dowarn (vTHX->Idowarn)
#define PL_dumper_fd (vTHX->Idumper_fd)
@@ -449,7 +448,6 @@
#define PL_Idestroyhook PL_destroyhook
#define PL_Idiehook PL_diehook
#define PL_Idirty PL_dirty
-#define PL_Idoextract PL_doextract
#define PL_Idoswitches PL_doswitches
#define PL_Idowarn PL_dowarn
#define PL_Idumper_fd PL_dumper_fd