From c99d414e3df13d342928e9eb43b2ef4d534b3aa7 Mon Sep 17 00:00:00 2001 From: Panayotis Skordos Date: Thu, 31 Dec 1987 18:51:55 +0000 Subject: [PATCH] Changed the name of local variable in loop macros to avoid conflict/shadowing of other variables. "i" ----> "mcrindx". --- v7/src/microcode/array.h | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/v7/src/microcode/array.h b/v7/src/microcode/array.h index 7512b3f42..6225fa8d4 100644 --- a/v7/src/microcode/array.h +++ b/v7/src/microcode/array.h @@ -30,7 +30,7 @@ Technology nor of any adaptation thereof in any advertising, promotional, or sales literature without prior written consent from MIT in each case. */ -/* $Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/Attic/array.h,v 9.23 1987/10/19 20:51:06 pas Rel $ */ +/* $Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/Attic/array.h,v 9.24 1987/12/31 18:51:55 pas Rel $ */ #define REAL float @@ -76,12 +76,15 @@ MIT in each case. */ /* This is 4 Mbytes for what it's worth... */ /* The following Macros implement useful procs on arrays - */ + Note: The running index "MCRINDX" in the macro loops has been chosen + so as to avoid name shadowing other variables when substituted. + */ /* Array_Scale */ #define C_Array_Scale(a,scale, len) \ -{ register long i; for (i=0;i