Browse Source

* fixed duplicate field names in variant record parts

git-svn-id: trunk@28822 -
Jonas Maebe 10 years ago
parent
commit
5b39b20a3d
2 changed files with 2 additions and 2 deletions
  1. 1 1
      tests/webtbf/tw9039c.pp
  2. 1 1
      tests/webtbs/tw23212.pp

+ 1 - 1
tests/webtbf/tw9039c.pp

@@ -6,7 +6,7 @@ type
   tr = packed record
   tr = packed record
     l: longint;
     l: longint;
     case byte of
     case byte of
-      0: (l: longint);
+      0: (x: longint);
       1: (e: ta);
       1: (e: ta);
   end;
   end;
 
 

+ 1 - 1
tests/webtbs/tw23212.pp

@@ -10,7 +10,7 @@ Type
   End; { Record }
   End; { Record }
 
 
   TSomeRecord = Packed Record
   TSomeRecord = Packed Record
-    Case A : Cardinal OF
+    Case x : Cardinal OF
       0 : (A : TSomeRec1);
       0 : (A : TSomeRec1);
   End; { Record }
   End; { Record }