Browse Source

* assign name to anonymous string type

git-svn-id: trunk@23536 -
michael 12 years ago
parent
commit
e247d1fa1a
1 changed files with 2 additions and 0 deletions
  1. 2 0
      packages/fcl-passrc/src/pparser.pp

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

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