mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-14 16:19:35 +02:00
+ add modeswitch for anonymous function and function references
This commit is contained in:
parent
5e148c1dca
commit
2912e38e91
@ -529,7 +529,8 @@ interface
|
||||
m_array2dynarray, { regular arrays can be implicitly converted to dynamic arrays }
|
||||
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_implicit_function_specialization, { attempt to specialize generic function by inferring types from parameters }
|
||||
m_function_references { enable Delphi-style function references }
|
||||
);
|
||||
tmodeswitches = set of tmodeswitch;
|
||||
|
||||
@ -723,7 +724,8 @@ interface
|
||||
'ARRAYTODYNARRAY',
|
||||
'PREFIXEDATTRIBUTES',
|
||||
'UNDERSCOREISSEPARATOR',
|
||||
'IMPLICITFUNCTIONSPECIALIZATION'
|
||||
'IMPLICITFUNCTIONSPECIALIZATION',
|
||||
'FUNCTIONREFERENCES'
|
||||
);
|
||||
|
||||
|
||||
|
@ -2436,7 +2436,8 @@ const
|
||||
'm_array2dynarray', { regular arrays can be implicitly converted to dynamic arrays }
|
||||
'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_implicit_function_specialization', { attempt to specialize generic function by inferring types from parameters }
|
||||
'm_function_references' { enable Delphi-style function references }
|
||||
);
|
||||
{ optimizer }
|
||||
optimizerswitchname : array[toptimizerswitch] of string[50] =
|
||||
|
Loading…
Reference in New Issue
Block a user