mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-29 11:10:16 +02:00
Merge branch 'modeswitch-underscoreisseparator' into 'main'
Support UnderscoreisSeparator modeswitch See merge request freepascal.org/lazarus/lazarus!89
This commit is contained in:
commit
b66d338090
@ -222,12 +222,13 @@ type
|
||||
cmsMultiHelpers, { helpers can appear in multiple scopes simultaneously }
|
||||
cmsArray2dynarray, { regular arrays can be implicitly converted to dynamic arrays }
|
||||
cmsPrefixedAttributes, { enable attributes that are defined before the type they belong to }
|
||||
cmsUnderscoreisSeparator, { _ can be used as separator to group digits in numbers }
|
||||
cmsImplicitFunctionSpecialization, { infer types on calls of generic functions }
|
||||
|
||||
// not yet in FPC, supported by pas2js:
|
||||
cmsExternalClass, { pas2js: allow class external [pkgname] name [symbol] }
|
||||
cmsIgnoreAttributes, { pas2js: ignore attributes }
|
||||
cmsOmitRTTI, { pas2js: treat class section 'published' as 'public' and typeinfo does not work on symbols declared with this switch }
|
||||
cmsImplicitFunctionSpecialization, { infer types on calls of generic functions }
|
||||
cmsMultiLineStrings { pas2js: Multiline strings }
|
||||
);
|
||||
TCompilerModeSwitches = set of TCompilerModeSwitch;
|
||||
@ -315,11 +316,12 @@ const
|
||||
'MULTIHELPERS',
|
||||
'ARRAYTODYNARRAY',
|
||||
'PREFIXEDATTRIBUTES',
|
||||
'UNDERSCOREISSEPARATOR',
|
||||
'IMPLICITFUNCTIONSPECIALIZATION',
|
||||
// not yet in FPC, supported by pas2js:
|
||||
'EXTERNALCLASS',
|
||||
'IGNOREATTRIBUTES',
|
||||
'OMITRTTI',
|
||||
'IMPLICITFUNCTIONSPECIALIZATION',
|
||||
'MULTILINESTRINGS'
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user