mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-15 14:19:28 +02:00
fcl-passrc: paswrite: write enums
git-svn-id: trunk@36784 -
This commit is contained in:
parent
c77b403928
commit
93b8a2de44
@ -154,6 +154,8 @@ begin
|
||||
wrt(AType.Name)
|
||||
else if AType.ClassType = TPasClassType then
|
||||
WriteClass(TPasClassType(AType))
|
||||
else if AType.ClassType = TPasEnumType then
|
||||
wrtln(TPasEnumType(AType).GetDeclaration(true) + ';')
|
||||
else
|
||||
raise Exception.Create('Writing not implemented for ' +
|
||||
AType.ElementTypeName + ' nodes');
|
||||
|
Loading…
Reference in New Issue
Block a user