ソースを参照

* 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