summaryrefslogtreecommitdiff
path: root/run.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1998-05-29 07:22:51 +0000
committerGurusamy Sarathy <gsar@cpan.org>1998-05-29 07:22:51 +0000
commitd0340efeaf607d2e70273b4fa22e5ee3b358abe8 (patch)
tree8187e35c8e61d21279785c869e1a5d92009e8e57 /run.c
parentab39fa9dbf3b1a1fb7beb555653d0558a089397f (diff)
parenta1737d5b9df80320e5be59ab8fa7c96455d6b5bf (diff)
downloadperl-d0340efeaf607d2e70273b4fa22e5ee3b358abe8.tar.gz
[asperl] integrate mainline changes
p4raw-id: //depot/asperl@1055
Diffstat (limited to 'run.c')
-rw-r--r--run.c15
1 files changed, 10 insertions, 5 deletions
diff --git a/run.c b/run.c
index 811e41ac52..d7133c7ba7 100644
--- a/run.c
+++ b/run.c
@@ -23,7 +23,8 @@
#endif
int
-runops_standard(void) {
+runops_standard(void)
+{
dTHR;
while ( op = (CALLOP->op_ppaddr)(ARGS) ) ;
@@ -32,6 +33,8 @@ runops_standard(void) {
return 0;
}
+#ifdef DEBUGGING
+
dEXT char **watchaddr = 0;
dEXT char *watchok;
@@ -39,6 +42,8 @@ dEXT char *watchok;
static void debprof _((OP*o));
#endif
+#endif /* DEBUGGING */
+
int
runops_debug(void)
{
@@ -64,7 +69,7 @@ runops_debug(void)
return 0;
#else
return runops_standard();
-#endif /* DEBUGGING */
+#endif /* DEBUGGING */
}
I32
@@ -92,7 +97,7 @@ debop(OP *o)
break;
}
PerlIO_printf(Perl_debug_log, "\n");
-#endif /* DEBUGGING */
+#endif /* DEBUGGING */
return 0;
}
@@ -104,7 +109,7 @@ watch(char **addr)
watchok = *addr;
PerlIO_printf(Perl_debug_log, "WATCHING, %lx is currently %lx\n",
(long)watchaddr, (long)watchok);
-#endif /* DEBUGGING */
+#endif /* DEBUGGING */
}
STATIC void
@@ -129,5 +134,5 @@ debprofdump(void)
PerlIO_printf(Perl_debug_log,
"%u\t%lu\n", i, (unsigned long)profiledata[i]);
}
-#endif /* DEBUGGING */
+#endif /* DEBUGGING */
}