浏览代码

* assign name to anonymous string type

git-svn-id: trunk@23536 -
michael 12 年之前
父节点
当前提交
e247d1fa1a
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      packages/fcl-passrc/src/pparser.pp

+ 2 - 0
packages/fcl-passrc/src/pparser.pp

@@ -757,6 +757,8 @@ Var
 begin
   Result := TPasAliasType(CreateElement(TPasAliasType, TypeName, Parent));
   try
+    If (Result.Name='') then
+      Result.Name:='string';
     NextToken;
     if CurToken=tkSquaredBraceOpen then
       begin