Преглед изворни кода

Merged revisions 3736,3747 via svnmerge from
svn+ssh://[email protected]/FPC/svn/fpc/trunk

........
r3736 | jonas | 2006-05-29 21:39:21 +0200 (Mon, 29 May 2006) | 2 lines

+ norun

........
r3747 | jonas | 2006-05-30 16:04:14 +0200 (Tue, 30 May 2006) | 2 lines

* fixed test

........

git-svn-id: branches/fixes_2_0@3757 -

Jonas Maebe пре 19 година
родитељ
комит
43107c6ac9
2 измењених фајлова са 8 додато и 7 уклоњено
  1. 7 7
      tests/test/cg/tcalcla1.pp
  2. 1 0
      tests/webtbs/tw4954.pp

+ 7 - 7
tests/test/cg/tcalcla1.pp

@@ -299,7 +299,7 @@ type
   end;
 
 
- procedure tnovmtclass.method_public_static_none;
+class procedure tnovmtclass.method_public_static_none;
   begin
     global_u8bit := RESULT_U8BIT;
   end;
@@ -311,7 +311,7 @@ type
        method_private_static_none;
    end;
 
- procedure tnovmtclass.method_call_private_static_none;
+class procedure tnovmtclass.method_call_private_static_none;
    begin
      method_private_static_none;
    end;
@@ -323,7 +323,7 @@ type
   end;
 
 
- procedure tnovmtclass.method_private_static_none;
+class procedure tnovmtclass.method_private_static_none;
   begin
     Inc(global_u16bit, RESULT_U8BIT);
   end;
@@ -335,7 +335,7 @@ type
      global_u8bit := x;
    end;
 
-  procedure tnovmtclass.method_public_static_u8(x: byte);
+class  procedure tnovmtclass.method_public_static_u8(x: byte);
    begin
      global_u8bit := x;
    end;
@@ -346,7 +346,7 @@ type
      method_private_u8(x);
    end;
 
-  procedure tnovmtclass. method_call_private_static_u8(x: byte);
+class  procedure tnovmtclass. method_call_private_static_u8(x: byte);
    begin
      method_private_static_u8(x);
    end;
@@ -356,7 +356,7 @@ type
       Inc(global_u16bit,x);
     end;
 
-   procedure tnovmtclass.method_private_static_u8(x: byte);
+class   procedure tnovmtclass.method_private_static_u8(x: byte);
     begin
       Inc(global_u16bit,x);
     end;
@@ -505,7 +505,7 @@ procedure tvmtclass.method_dynamic_params_mixed(u8 :byte; u16: word;
 
 
 { can't access field of instances in static methods }
-procedure tvmtclass.method_static_params_mixed(
+class procedure tvmtclass.method_static_params_mixed(
     u8 :byte; u16: word; bigstring: shortstring; s32: longint; s64: int64);
  begin
    global_u8bit := u8;

+ 1 - 0
tests/webtbs/tw4954.pp

@@ -1,3 +1,4 @@
+{ %NORUN }
 { %OPT=-Seh }
 
 program aFP211r;  { false hints on varrec }