X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=run.c;h=be280eeedbe600612768f0925140c337e7f9807a;hb=cc4c9faad0767bbb62e32c96638b5ce02dde234e;hp=b98a76e9abc11de84aac316c9c64a5a4c1c5aec9;hpb=166f8a29442475f7fe0e9216f957512a793bc4ed;p=p5sagit%2Fp5-mst-13.2.git diff --git a/run.c b/run.c index b98a76e..be280ee 100644 --- a/run.c +++ b/run.c @@ -1,7 +1,7 @@ /* run.c * * Copyright (C) 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, - * 2000, 2001, by Larry Wall and others + * 2000, 2001, 2004, 2005, 2006, by Larry Wall and others * * You may distribute under the terms of either the GNU General Public * License or the Artistic License, as specified in the README file. @@ -11,7 +11,7 @@ /* This file contains the main Perl opcode execution loop. It just * calls the pp_foo() function associated with each op, and expects that * function to return a pointer to the next op to be executed, or null if - * its the end of the sub or program or whatever. + * it's the end of the sub or program or whatever. * * There is a similar loop in dump.c, Perl_runops_debug(), which does * the same, but also checks for various debug flags each time round the @@ -26,14 +26,17 @@ #include "perl.h" /* - * "Away now, Shadowfax! Run, greatheart, run as you have never run before! - * Now we are come to the lands where you were foaled, and every stone you - * know. Run now! Hope is in speed!" --Gandalf + * 'Away now, Shadowfax! Run, greatheart, run as you have never run before! + * Now we are come to the lands where you were foaled, and every stone you + * know. Run now! Hope is in speed!' --Gandalf + * + * [p.600 of _The Lord of the Rings_, III/xi: "The Palantír"] */ int Perl_runops_standard(pTHX) { + dVAR; while ((PL_op = CALL_FPTR(PL_op->op_ppaddr)(aTHX))) { PERL_ASYNC_CHECK(); } @@ -42,3 +45,12 @@ Perl_runops_standard(pTHX) return 0; } +/* + * Local variables: + * c-indentation-style: bsd + * c-basic-offset: 4 + * indent-tabs-mode: t + * End: + * + * ex: set ts=8 sts=4 sw=4 noet: + */