Browse Source

* don't use keywords for variables

peter 20 years ago
parent
commit
5687c3c24c
2 changed files with 6 additions and 6 deletions
  1. 3 3
      rtl/inc/macpas.pp
  2. 3 3
      rtl/win32/signals.pp

+ 3 - 3
rtl/inc/macpas.pp

@@ -37,7 +37,7 @@ function FOUR_CHAR_CODE(literal: string): LongWord; {$ifdef systeminline}inline;
 
 
 {This makes casts from ShortString to FourCharCode automatically,
 {This makes casts from ShortString to FourCharCode automatically,
  to emulate the behaviour of mac pascal compilers}
  to emulate the behaviour of mac pascal compilers}
-operator := (s: ShortString) result: LongWord; {$ifdef systeminline}inline;{$endif}
+operator := (s: ShortString) res: LongWord; {$ifdef systeminline}inline;{$endif}
 
 
 
 
 implementation
 implementation
@@ -53,9 +53,9 @@ begin
   FOUR_CHAR_CODE := PLongWord(@literal[1])^;
   FOUR_CHAR_CODE := PLongWord(@literal[1])^;
 end;
 end;
 
 
-operator := (s: ShortString) result: LongWord; {$ifdef systeminline}inline;{$endif}
+operator := (s: ShortString) res: LongWord; {$ifdef systeminline}inline;{$endif}
 begin
 begin
-  result := PLongWord(@s[1])^;
+  res := PLongWord(@s[1])^;
 end;
 end;
 
 
 end.
 end.

+ 3 - 3
rtl/win32/signals.pp

@@ -323,12 +323,12 @@ var
     end;
     end;
 
 
 
 
-    function API_signals_exception_handler(except : PEXCEPTION_POINTERS) : longint; stdcall;
+    function API_signals_exception_handler(exceptptrs : PEXCEPTION_POINTERS) : longint; stdcall;
     begin
     begin
       API_signals_exception_handler:=Signals_exception_handler(
       API_signals_exception_handler:=Signals_exception_handler(
-        @except^.ExceptionRecord,
+        @exceptptrs^.ExceptionRecord,
         nil,
         nil,
-        @except^.ContextRecord,
+        @exceptptrs^.ContextRecord,
         nil);
         nil);
     end;
     end;