From ddfa107c1b1f4a56f36bb18fc7c4fc45ab1119d0 Mon Sep 17 00:00:00 2001 From: Dave Mitchell Date: Tue, 3 Aug 2004 19:20:18 +0000 Subject: [PATCH] more typo fixes for change 3176 (comments at top of .c files) p4raw-id: //depot/perl@23187 --- mg.c | 4 ++-- miniperlmain.c | 4 ++-- perl.c | 2 +- run.c | 2 +- scope.c | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/mg.c b/mg.c index bf9ecee..ee705ad 100644 --- a/mg.c +++ b/mg.c @@ -20,10 +20,10 @@ "magical" properties. When any Perl code tries to read from, or assign to, an SV marked as magical, it calls the 'get' or 'set' function associated with that SV's magic. A get is called prior to reading an SV, in order to -give it a chance to update its interval value (get on $. writes the line +give it a chance to update its internal value (get on $. writes the line number of the last read filehandle into to the SV's IV slot), while set is called after an SV has been written to, in order to allow it to make -use of it's changed value (set on $/ copies the SV's new value to the +use of its changed value (set on $/ copies the SV's new value to the PL_rs global variable). Magic is implemented as a linked list of MAGIC structures attached to the diff --git a/miniperlmain.c b/miniperlmain.c index 3c13b7e..286ce91 100644 --- a/miniperlmain.c +++ b/miniperlmain.c @@ -16,8 +16,8 @@ * Note that miniperlmain.c contains main() for the 'miniperl' binary, * while perlmain.c contains main() for the 'perl' binary. * - * Miniperl is like perl except that does not support dynamic loading, - * and in fact is used to build the dynamic modules need for the 'real' + * Miniperl is like perl except that it does not support dynamic loading, + * and in fact is used to build the dynamic modules needed for the 'real' * perl executable. */ diff --git a/perl.c b/perl.c index ff0fbf7..4415d8d 100644 --- a/perl.c +++ b/perl.c @@ -15,7 +15,7 @@ /* This file contains the top-level functions that are used to create, use * and destroy a perl interpreter, plus the functions used by XS code to * call back into perl. Note that it does not contain the actual main() - * function of the interpreter; that can be found perlmain.c + * function of the interpreter; that can be found in perlmain.c */ /* PSz 12 Nov 03 diff --git a/run.c b/run.c index b98a76e..a2059e2 100644 --- a/run.c +++ b/run.c @@ -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 diff --git a/scope.c b/scope.c index 492ce60..b38ae7e 100644 --- a/scope.c +++ b/scope.c @@ -13,7 +13,7 @@ * levels..." */ -/* This file contains functions to manipulate various of perl's stacks; +/* This file contains functions to manipulate several of Perl's stacks; * in particular it contains code to push various types of things onto * the savestack, then to pop them off and perform the correct restorative * action for each one. This corresponds to the cleanup Perl does at -- 1.8.3.1