add a few more globals with old names #defined
Gurusamy Sarathy [Wed, 22 Jul 1998 06:46:38 +0000 (06:46 +0000)]
p4raw-id: //depot/perl@1625

embed.pl
embedvar.h

index 91a97fc..a7fb0ed 100755 (executable)
--- a/embed.pl
+++ b/embed.pl
@@ -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
@@ -12,6 +16,9 @@ my @extvars = qw(sv_undef sv_yes sv_no na dowarn
                 errgv
                 rsfp_filters
                 perldb
+                diehook
+                dirty
+                perl_destruct_level
                 );
 
 sub readsyms (\%$) {
index 8394e84..7a258b0 100644 (file)
 #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