mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-18 13:49:12 +02:00
* assign name to anonymous string type
git-svn-id: trunk@23536 -
This commit is contained in:
parent
d0cbcd419e
commit
e247d1fa1a
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user