codetools: modeswitch omitrtti

git-svn-id: trunk@59583 -
This commit is contained in:
mattias 2018-11-17 21:36:46 +00:00
parent a5170a4055
commit 01ee3542be

View File

@ -221,7 +221,8 @@ type
// not yet in FPC, supported by pas2js:
cmsPrefixedAttributes, { allow Delphi attributes, disable FPC [] proc modifier }
cmsExternalClass, { pas2js: allow class external [pkgname] name [symbol] }
cmsIgnoreAttributes { pas2js: ignore attributes }
cmsIgnoreAttributes, { pas2js: ignore attributes }
cmsOmitRTTI { pas2js: treat class section 'published' as 'public' and typeinfo does not work on symbols declared with this switch }
);
TCompilerModeSwitches = set of TCompilerModeSwitch;
const
@ -306,7 +307,8 @@ const
'ARRAYOPERATORS',
'PREFIXEDATTRIBUTES',
'EXTERNALCLASS',
'IGNOREATTRIBUTES'
'IGNOREATTRIBUTES',
'OMITRTTI'
);