mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 18:09:27 +02:00
* Add woAlwaysRecordHelper option
git-svn-id: trunk@46318 -
This commit is contained in:
parent
99551dc6b2
commit
67f5cc1003
@ -37,7 +37,8 @@ type
|
||||
woForwardClasses, // Add forward definitions for all classes
|
||||
woForceOverload, // Force 'overload;' on overloads that are not marked as such.
|
||||
woNoAsm, // Do not allow asm block
|
||||
woSkipPrivateExternals
|
||||
woSkipPrivateExternals, // Skip generation of external procedure declaration in implementation section
|
||||
woAlwaysRecordHelper // Force use of record helper for type helper
|
||||
);
|
||||
TPasWriterOptions = Set of TPasWriterOption;
|
||||
|
||||
@ -624,6 +625,11 @@ begin
|
||||
okObject: Add('object');
|
||||
okClass: Add('class');
|
||||
okInterface: Add('interface');
|
||||
okTypeHelper :
|
||||
if HasOption(woAlwaysRecordHelper) then
|
||||
Add('record helper')
|
||||
else
|
||||
Add('type helper');
|
||||
okRecordHelper: Add('record helper');
|
||||
okClassHelper: Add('class helper');
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user