This patch fixes the 2nd parameter name mismatch in
ARRAYOFCHAR.mod.
gcc/m2/ChangeLog:
PR modula2/121164
* gm2-libs/ARRAYOFCHAR.mod (Write): Rename 2nd parameter
name a to str.
Signed-off-by: Gaius Mulley <gaiusmod2@gmail.com>
Write - writes a string to file f.
*)
-PROCEDURE Write (f: File; a: ARRAY OF CHAR) ;
+PROCEDURE Write (f: File; str: ARRAY OF CHAR) ;
VAR
len, i: CARDINAL ;
BEGIN
- len := StrLib.StrLen (a) ;
+ len := StrLib.StrLen (str) ;
i := 0 ;
WHILE i < len DO
- WriteChar (f, a[i]) ;
+ WriteChar (f, str[i]) ;
INC (i)
END
END Write ;