+ add modeswitch for anonymous functions

This commit is contained in:
Sven/Sarah Barth 2021-07-22 17:10:31 +02:00
parent 2cc621618a
commit 4e4d268963
2 changed files with 6 additions and 3 deletions

View File

@ -530,7 +530,8 @@ interface
m_prefixed_attributes, { enable attributes that are defined before the type they belong to }
m_underscoreisseparator,{ _ can be used as separator to group digits in numbers }
m_implicit_function_specialization, { attempt to specialize generic function by inferring types from parameters }
m_function_references { enable Delphi-style function references }
m_function_references, { enable Delphi-style function references }
m_anonymous_functions { enable Delphi-style anonymous functions }
);
tmodeswitches = set of tmodeswitch;
@ -725,7 +726,8 @@ interface
'PREFIXEDATTRIBUTES',
'UNDERSCOREISSEPARATOR',
'IMPLICITFUNCTIONSPECIALIZATION',
'FUNCTIONREFERENCES'
'FUNCTIONREFERENCES',
'ANONYMOUSFUNCTIONS'
);

View File

@ -2437,7 +2437,8 @@ const
'm_prefixed_attributes', { enable attributes that are defined before the type they belong to }
'm_underscoreisseparator',{ _ can be used as separator to group digits in numbers }
'm_implicit_function_specialization', { attempt to specialize generic function by inferring types from parameters }
'm_function_references' { enable Delphi-style function references }
'm_function_references', { enable Delphi-style function references }
'm_anonymous_functions' { enable Delphi-style anonymous functions }
);
{ optimizer }
optimizerswitchname : array[toptimizerswitch] of string[50] =