@@ -150,27 +150,32 @@ function TBDSCompiler.GetIDString: string;
150
150
Result := ' D103R' ;
151
151
ciD104S:
152
152
Result := ' D104S' ;
153
+ ciD11A:
154
+ Result := ' D11A' ;
153
155
else
154
156
raise EBug.Create(ClassName + ' .GetIDString: Invalid ID' );
155
157
end ;
156
158
end ;
157
159
158
160
function TBDSCompiler.GetName : string;
159
161
resourcestring
160
- sCompilerName = ' Delphi %d' ; // template for name of compiler
161
- sDelphiXE = ' Delphi XE' ; // name of Delphi XE compiler
162
- sDelphiXE2 = ' Delphi XE2' ; // name of Delphi XE2 compiler
163
- sDelphiXE3 = ' Delphi XE3' ; // name of Delphi XE3 compiler
164
- sDelphiXE4 = ' Delphi XE4' ; // name of Delphi XE4 compiler
165
- sDelphiXE5 = ' Delphi XE5' ; // name of Delphi XE5 compiler
166
- sDelphiXE6 = ' Delphi XE6' ; // name of Delphi XE6 compiler
167
- sDelphiXE7 = ' Delphi XE7' ; // name of Delphi XE7 compiler
168
- sDelphiXE8 = ' Delphi XE8' ; // name of Delphi XE8 compiler
169
- sDelphi10S = ' Delphi 10 Seattle' ; // name of Delphi 10 compiler
170
- sDelphi101B = ' Delphi 10.1 Berlin' ; // name of Delphi 10.1 compiler
171
- sDelphi102T = ' Delphi 10.2 Tokyo' ; // name of Delphi 10.2 compiler
172
- sDelphi103R = ' Delphi 10.3 Rio' ; // name of Delphi 10.3 compiler
173
- sDelphi104S = ' Delphi 10.4 Sydney' ; // name of Delphi 10.4 compiler
162
+ // template for name of compiler with simple integer version number
163
+ sCompilerName = ' Delphi %d' ;
164
+ // names of compilers not suitable for use with template
165
+ sDelphiXE = ' Delphi XE' ;
166
+ sDelphiXE2 = ' Delphi XE2' ;
167
+ sDelphiXE3 = ' Delphi XE3' ;
168
+ sDelphiXE4 = ' Delphi XE4' ;
169
+ sDelphiXE5 = ' Delphi XE5' ;
170
+ sDelphiXE6 = ' Delphi XE6' ;
171
+ sDelphiXE7 = ' Delphi XE7' ;
172
+ sDelphiXE8 = ' Delphi XE8' ;
173
+ sDelphi10S = ' Delphi 10 Seattle' ;
174
+ sDelphi101B = ' Delphi 10.1 Berlin' ;
175
+ sDelphi102T = ' Delphi 10.2 Tokyo' ;
176
+ sDelphi103R = ' Delphi 10.3 Rio' ;
177
+ sDelphi104S = ' Delphi 10.4 Sydney' ;
178
+ sDelphi11A = ' Delphi 11 Alexandria' ;
174
179
begin
175
180
case GetID of
176
181
ciDXE:
@@ -199,6 +204,8 @@ function TBDSCompiler.GetName: string;
199
204
Result := sDelphi103R;
200
205
ciD104S:
201
206
Result := sDelphi104S;
207
+ ciD11A:
208
+ Result := sDelphi11A;
202
209
else
203
210
Result := Format(sCompilerName, [ProductVersion]);
204
211
end ;
@@ -232,6 +239,7 @@ function TBDSCompiler.InstallationRegKey: string;
232
239
ciD102T : Result := ' \Software\Embarcadero\BDS\19.0' ;
233
240
ciD103R : Result := ' \Software\Embarcadero\BDS\20.0' ;
234
241
ciD104S : Result := ' \Software\Embarcadero\BDS\21.0' ;
242
+ ciD11A : Result := ' \Software\Embarcadero\BDS\22.0' ;
235
243
else raise EBug.Create(ClassName + ' .InstallationRegKey: Invalid ID' );
236
244
end ;
237
245
end ;
0 commit comments