Skip to content

Commit

Permalink
add a few more globals with old names #defined
Browse files Browse the repository at this point in the history
p4raw-id: //depot/perl@1625
  • Loading branch information
Gurusamy Sarathy committed Jul 22, 1998
1 parent 3ab8379 commit 709f4e3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
7 changes: 7 additions & 0 deletions embed.pl
Expand Up @@ -2,6 +2,10 @@

require 5.003;

# XXX others that may need adding
# warnhook
# hints
# copline
my @extvars = qw(sv_undef sv_yes sv_no na dowarn
curcop compiling
tainting tainted stack_base stack_sp sv_arenaroot
Expand All @@ -12,6 +16,9 @@
errgv
rsfp_filters
perldb
diehook
dirty
perl_destruct_level
);

sub readsyms (\%$) {
Expand Down
3 changes: 3 additions & 0 deletions embedvar.h
Expand Up @@ -869,9 +869,12 @@
#define curstash PL_curstash
#define debstash PL_debstash
#define defgv PL_defgv
#define diehook PL_diehook
#define dirty PL_dirty
#define dowarn PL_dowarn
#define errgv PL_errgv
#define na PL_na
#define perl_destruct_level PL_perl_destruct_level
#define perldb PL_perldb
#define rsfp PL_rsfp
#define rsfp_filters PL_rsfp_filters
Expand Down

0 comments on commit 709f4e3

Please sign in to comment.