浏览代码

* fixed duplicate field names in variant record parts

git-svn-id: trunk@28822 -
Jonas Maebe 10 年之前
父节点
当前提交
5b39b20a3d
共有 2 个文件被更改,包括 2 次插入2 次删除
  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
     l: longint;
     case byte of
-      0: (l: longint);
+      0: (x: longint);
       1: (e: ta);
   end;
 

+ 1 - 1
tests/webtbs/tw23212.pp

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