Substitutions of the translator |
Top Previous Next |
User interface > Translation options > Substitution options > Substitutions of the translator
Similar to the substitution table for the preprocessor there is a second substitution table for the translator.
There are two differences to the substitutions, which are carried out by the preprocessor:
double float; -> double float_value; .
StringOfChar -> AnsiString::StringOfChar
Helper names
There is an additional map for the substitution of helper names which are created for the definition of implicitly defined types, For example in System.SyUutils.hpp the following enum type is defined:
enum DECLSPEC_DENUM System_Sysutils__85 : unsigned char { rfReplaceAll, rfIgnoreCase };
When Delphi2Cpp II parses System.SysUtils.pas, initially it cannot know this name and gives another name to this type: SysutilsEnum__0. The mapping between these two names can be defined in the helper substitution dialog as shown below:
|
This page belongs to the DelphiXE2Cpp11 Documentation |
DelphiXE2Cpp11 home Content |