Browse Source

rtl: minor formatting

git-svn-id: trunk@24443 -
paul 12 years ago
parent
commit
a020440d48
1 changed files with 40 additions and 40 deletions
  1. 40 40
      rtl/objpas/typinfo.pp

+ 40 - 40
rtl/objpas/typinfo.pp

@@ -737,12 +737,12 @@ var
   AMethod : TMethod;
   AMethod : TMethod;
 begin
 begin
   case (PropInfo^.PropProcs shr 4) and 3 of
   case (PropInfo^.PropProcs shr 4) and 3 of
-    ptfield:
+    ptField:
       Result:=PBoolean(Pointer(Instance)+PtrUInt(PropInfo^.StoredProc))^;
       Result:=PBoolean(Pointer(Instance)+PtrUInt(PropInfo^.StoredProc))^;
-    ptconst:
+    ptConst:
       Result:=LongBool(PropInfo^.StoredProc);
       Result:=LongBool(PropInfo^.StoredProc);
-    ptstatic,
-    ptvirtual:
+    ptStatic,
+    ptVirtual:
       begin
       begin
         if (PropInfo^.PropProcs shr 4) and 3=ptstatic then
         if (PropInfo^.PropProcs shr 4) and 3=ptstatic then
           AMethod.Code:=PropInfo^.StoredProc
           AMethod.Code:=PropInfo^.StoredProc
@@ -946,7 +946,7 @@ begin
   end;
   end;
 
 
   case (PropInfo^.PropProcs) and 3 of
   case (PropInfo^.PropProcs) and 3 of
-    ptfield:
+    ptField:
       if Signed then begin
       if Signed then begin
         case DataSize of
         case DataSize of
           1: Result:=PShortInt(Pointer(Instance)+PtrUInt(PropInfo^.GetProc))^;
           1: Result:=PShortInt(Pointer(Instance)+PtrUInt(PropInfo^.GetProc))^;
@@ -962,8 +962,8 @@ begin
           8: Result:=PInt64(Pointer(Instance)+PtrUInt(PropInfo^.GetProc))^;
           8: Result:=PInt64(Pointer(Instance)+PtrUInt(PropInfo^.GetProc))^;
         end;
         end;
       end;
       end;
-    ptstatic,
-    ptvirtual :
+    ptStatic,
+    ptVirtual:
       begin
       begin
         if (PropInfo^.PropProcs and 3)=ptStatic then
         if (PropInfo^.PropProcs and 3)=ptStatic then
           AMethod.Code:=PropInfo^.GetProc
           AMethod.Code:=PropInfo^.GetProc
@@ -1034,15 +1034,15 @@ begin
        end;
        end;
     end;
     end;
   case (PropInfo^.PropProcs shr 2) and 3 of
   case (PropInfo^.PropProcs shr 2) and 3 of
-    ptfield:
+    ptField:
       case DataSize of
       case DataSize of
         1: PByte(Pointer(Instance)+PtrUInt(PropInfo^.SetProc))^:=Byte(Value);
         1: PByte(Pointer(Instance)+PtrUInt(PropInfo^.SetProc))^:=Byte(Value);
         2: PWord(Pointer(Instance)+PtrUInt(PropInfo^.SetProc))^:=Word(Value);
         2: PWord(Pointer(Instance)+PtrUInt(PropInfo^.SetProc))^:=Word(Value);
         4: PLongint(Pointer(Instance)+PtrUInt(PropInfo^.SetProc))^:=Longint(Value);
         4: PLongint(Pointer(Instance)+PtrUInt(PropInfo^.SetProc))^:=Longint(Value);
         8: PInt64(Pointer(Instance)+PtrUInt(PropInfo^.SetProc))^:=Value;
         8: PInt64(Pointer(Instance)+PtrUInt(PropInfo^.SetProc))^:=Value;
       end;
       end;
-    ptstatic,
-    ptvirtual :
+    ptStatic,
+    ptVirtual:
       begin
       begin
         if ((PropInfo^.PropProcs shr 2) and 3)=ptStatic then
         if ((PropInfo^.PropProcs shr 2) and 3)=ptStatic then
           AMethod.Code:=PropInfo^.SetProc
           AMethod.Code:=PropInfo^.SetProc
@@ -1258,10 +1258,10 @@ begin
 
 
   TypeInfo := PropInfo^.PropType;
   TypeInfo := PropInfo^.PropType;
   case (PropInfo^.PropProcs) and 3 of
   case (PropInfo^.PropProcs) and 3 of
-    ptfield:
+    ptField:
       Result:=IInterface(PPointer(Pointer(Instance)+PtrUInt(PropInfo^.GetProc))^);
       Result:=IInterface(PPointer(Pointer(Instance)+PtrUInt(PropInfo^.GetProc))^);
-    ptstatic,
-    ptvirtual :
+    ptStatic,
+    ptVirtual:
       begin
       begin
         if (PropInfo^.PropProcs and 3)=ptStatic then
         if (PropInfo^.PropProcs and 3)=ptStatic then
           AMethod.Code:=PropInfo^.GetProc
           AMethod.Code:=PropInfo^.GetProc
@@ -1296,8 +1296,8 @@ begin
         case (PropInfo^.PropProcs shr 2) and 3 of
         case (PropInfo^.PropProcs shr 2) and 3 of
           ptField:
           ptField:
             PInterface(Pointer(Instance)+PtrUInt(PropInfo^.SetProc))^:=Value;
             PInterface(Pointer(Instance)+PtrUInt(PropInfo^.SetProc))^:=Value;
-          ptstatic,
-          ptvirtual :
+          ptStatic,
+          ptVirtual:
             begin
             begin
               if ((PropInfo^.PropProcs shr 2) and 3)=ptStatic then
               if ((PropInfo^.PropProcs shr 2) and 3)=ptStatic then
                 AMethod.Code:=PropInfo^.SetProc
                 AMethod.Code:=PropInfo^.SetProc
@@ -1356,8 +1356,8 @@ begin
         case (PropInfo^.PropProcs shr 2) and 3 of
         case (PropInfo^.PropProcs shr 2) and 3 of
           ptField:
           ptField:
             PPointer(Pointer(Instance)+PtrUInt(PropInfo^.SetProc))^:=Value;
             PPointer(Pointer(Instance)+PtrUInt(PropInfo^.SetProc))^:=Value;
-          ptstatic,
-          ptvirtual :
+          ptStatic,
+          ptVirtual:
             begin
             begin
               if ((PropInfo^.PropProcs shr 2) and 3)=ptStatic then
               if ((PropInfo^.PropProcs shr 2) and 3)=ptStatic then
                 AMethod.Code:=PropInfo^.SetProc
                 AMethod.Code:=PropInfo^.SetProc
@@ -1393,15 +1393,15 @@ begin
   case Propinfo^.PropType^.Kind of
   case Propinfo^.PropType^.Kind of
     tkWString:
     tkWString:
       Result:=GetWideStrProp(Instance,PropInfo);
       Result:=GetWideStrProp(Instance,PropInfo);
-    tkUString :
+    tkUString:
       Result := GetUnicodeStrProp(Instance,PropInfo);
       Result := GetUnicodeStrProp(Instance,PropInfo);
     tkSString:
     tkSString:
       begin
       begin
         case (PropInfo^.PropProcs) and 3 of
         case (PropInfo^.PropProcs) and 3 of
           ptField:
           ptField:
             Result := PShortString(Pointer(Instance) + LongWord(PropInfo^.GetProc))^;
             Result := PShortString(Pointer(Instance) + LongWord(PropInfo^.GetProc))^;
-          ptstatic,
-          ptvirtual :
+          ptStatic,
+          ptVirtual:
             begin
             begin
               if (PropInfo^.PropProcs and 3)=ptStatic then
               if (PropInfo^.PropProcs and 3)=ptStatic then
                 AMethod.Code:=PropInfo^.GetProc
                 AMethod.Code:=PropInfo^.GetProc
@@ -1420,8 +1420,8 @@ begin
         case (PropInfo^.PropProcs) and 3 of
         case (PropInfo^.PropProcs) and 3 of
           ptField:
           ptField:
             Result := PAnsiString(Pointer(Instance) + LongWord(PropInfo^.GetProc))^;
             Result := PAnsiString(Pointer(Instance) + LongWord(PropInfo^.GetProc))^;
-          ptstatic,
-          ptvirtual :
+          ptStatic,
+          ptVirtual:
             begin
             begin
               if (PropInfo^.PropProcs and 3)=ptStatic then
               if (PropInfo^.PropProcs and 3)=ptStatic then
                 AMethod.Code:=PropInfo^.GetProc
                 AMethod.Code:=PropInfo^.GetProc
@@ -1458,8 +1458,8 @@ begin
         case (PropInfo^.PropProcs shr 2) and 3 of
         case (PropInfo^.PropProcs shr 2) and 3 of
           ptField:
           ptField:
             PShortString(Pointer(Instance) + LongWord(PropInfo^.SetProc))^:=Value;
             PShortString(Pointer(Instance) + LongWord(PropInfo^.SetProc))^:=Value;
-          ptstatic,
-          ptvirtual :
+          ptStatic,
+          ptVirtual:
             begin
             begin
               if ((PropInfo^.PropProcs shr 2) and 3)=ptStatic then
               if ((PropInfo^.PropProcs shr 2) and 3)=ptStatic then
                 AMethod.Code:=PropInfo^.SetProc
                 AMethod.Code:=PropInfo^.SetProc
@@ -1478,8 +1478,8 @@ begin
         case (PropInfo^.PropProcs shr 2) and 3 of
         case (PropInfo^.PropProcs shr 2) and 3 of
           ptField:
           ptField:
             PAnsiString(Pointer(Instance) + LongWord(PropInfo^.SetProc))^:=Value;
             PAnsiString(Pointer(Instance) + LongWord(PropInfo^.SetProc))^:=Value;
-          ptstatic,
-          ptvirtual :
+          ptStatic,
+          ptVirtual:
             begin
             begin
               if ((PropInfo^.PropProcs shr 2) and 3)=ptStatic then
               if ((PropInfo^.PropProcs shr 2) and 3)=ptStatic then
                 AMethod.Code:=PropInfo^.SetProc
                 AMethod.Code:=PropInfo^.SetProc
@@ -1539,8 +1539,8 @@ begin
         case (PropInfo^.PropProcs) and 3 of
         case (PropInfo^.PropProcs) and 3 of
           ptField:
           ptField:
             Result := PWideString(Pointer(Instance)+PtrUInt(PropInfo^.GetProc))^;
             Result := PWideString(Pointer(Instance)+PtrUInt(PropInfo^.GetProc))^;
-          ptstatic,
-          ptvirtual :
+          ptStatic,
+          ptVirtual:
             begin
             begin
               if (PropInfo^.PropProcs and 3)=ptStatic then
               if (PropInfo^.PropProcs and 3)=ptStatic then
                 AMethod.Code:=PropInfo^.GetProc
                 AMethod.Code:=PropInfo^.GetProc
@@ -1575,8 +1575,8 @@ begin
         case (PropInfo^.PropProcs shr 2) and 3 of
         case (PropInfo^.PropProcs shr 2) and 3 of
           ptField:
           ptField:
             PWideString(Pointer(Instance)+PtrUInt(PropInfo^.SetProc))^:=Value;
             PWideString(Pointer(Instance)+PtrUInt(PropInfo^.SetProc))^:=Value;
-          ptstatic,
-          ptvirtual :
+          ptStatic,
+          ptVirtual:
             begin
             begin
               if ((PropInfo^.PropProcs shr 2) and 3)=ptStatic then
               if ((PropInfo^.PropProcs shr 2) and 3)=ptStatic then
                 AMethod.Code:=PropInfo^.SetProc
                 AMethod.Code:=PropInfo^.SetProc
@@ -1623,8 +1623,8 @@ begin
         case (PropInfo^.PropProcs) and 3 of
         case (PropInfo^.PropProcs) and 3 of
           ptField:
           ptField:
             Result := PUnicodeString(Pointer(Instance)+PtrUInt(PropInfo^.GetProc))^;
             Result := PUnicodeString(Pointer(Instance)+PtrUInt(PropInfo^.GetProc))^;
-          ptstatic,
-          ptvirtual :
+          ptStatic,
+          ptVirtual:
             begin
             begin
               if (PropInfo^.PropProcs and 3)=ptStatic then
               if (PropInfo^.PropProcs and 3)=ptStatic then
                 AMethod.Code:=PropInfo^.GetProc
                 AMethod.Code:=PropInfo^.GetProc
@@ -1659,8 +1659,8 @@ begin
         case (PropInfo^.PropProcs shr 2) and 3 of
         case (PropInfo^.PropProcs shr 2) and 3 of
           ptField:
           ptField:
             PUnicodeString(Pointer(Instance)+PtrUInt(PropInfo^.SetProc))^:=Value;
             PUnicodeString(Pointer(Instance)+PtrUInt(PropInfo^.SetProc))^:=Value;
-          ptstatic,
-          ptvirtual :
+          ptStatic,
+          ptVirtual:
             begin
             begin
               if ((PropInfo^.PropProcs shr 2) and 3)=ptStatic then
               if ((PropInfo^.PropProcs shr 2) and 3)=ptStatic then
                 AMethod.Code:=PropInfo^.SetProc
                 AMethod.Code:=PropInfo^.SetProc
@@ -1844,14 +1844,14 @@ begin
   Result.Code:=nil;
   Result.Code:=nil;
   Result.Data:=nil;
   Result.Data:=nil;
   case (PropInfo^.PropProcs) and 3 of
   case (PropInfo^.PropProcs) and 3 of
-    ptfield:
+    ptField:
       begin
       begin
         Value:=PMethod(Pointer(Instance)+PtrUInt(PropInfo^.GetProc));
         Value:=PMethod(Pointer(Instance)+PtrUInt(PropInfo^.GetProc));
         if Value<>nil then
         if Value<>nil then
           Result:=Value^;
           Result:=Value^;
       end;
       end;
-    ptstatic,
-    ptvirtual :
+    ptStatic,
+    ptVirtual:
       begin
       begin
         if (PropInfo^.PropProcs and 3)=ptStatic then
         if (PropInfo^.PropProcs and 3)=ptStatic then
           AMethod.Code:=PropInfo^.GetProc
           AMethod.Code:=PropInfo^.GetProc
@@ -1875,10 +1875,10 @@ var
   AMethod : TMethod;
   AMethod : TMethod;
 begin
 begin
   case (PropInfo^.PropProcs shr 2) and 3 of
   case (PropInfo^.PropProcs shr 2) and 3 of
-    ptfield:
+    ptField:
       PMethod(Pointer(Instance)+PtrUInt(PropInfo^.SetProc))^ := Value;
       PMethod(Pointer(Instance)+PtrUInt(PropInfo^.SetProc))^ := Value;
-    ptstatic,
-    ptvirtual :
+    ptStatic,
+    ptVirtual:
       begin
       begin
         if ((PropInfo^.PropProcs shr 2) and 3)=ptStatic then
         if ((PropInfo^.PropProcs shr 2) and 3)=ptStatic then
           AMethod.Code:=PropInfo^.SetProc
           AMethod.Code:=PropInfo^.SetProc