* Merging revisions r46281 from trunk:

------------------------------------------------------------------------
    r46281 | michael | 2020-08-06 08:55:06 +0200 (Thu, 06 Aug 2020) | 1 line
    
    * Support writing sets
    ------------------------------------------------------------------------

git-svn-id: branches/fixes_3_2@46607 -
This commit is contained in:
michael 2020-08-23 09:30:16 +00:00
parent d791d13e4d
commit d4f696a18d

View File

@ -289,9 +289,10 @@ begin
WriteAliasType(TPasAliasType(AType)) WriteAliasType(TPasAliasType(AType))
else if AType is TPasPointerType then else if AType is TPasPointerType then
Add(AType.GetDeclaration(true)) Add(AType.GetDeclaration(true))
else if AType is TPasSetType then
Add(AType.GetDeclaration(true))
else else
raise EPasWriter.Create('Writing not implemented for ' + raise EPasWriter.CreateFmt('Writing not implemented for %s type nodes',[aType.ElementTypeName]);
AType.ElementTypeName + ' nodes');
if Full then if Full then
AddLn(';'); AddLn(';');
end; end;