Debugger: fix compile with fpc 3.2.0

This commit is contained in:
Martin 2022-08-12 14:57:00 +02:00
parent 0c85e0ffb6
commit f50c813229

View File

@ -64,7 +64,9 @@ begin
if FInternalJSon = nil then
try
//FInternalJSon := GetJSON(AsString);
P := TJSONParser.Create(AsString, [joUTF8,joComments,joIgnoreTrailingComma,joBOMCheck{,joIgnoreDuplicates}]);
P := TJSONParser.Create(AsString, [joUTF8,joComments,joIgnoreTrailingComma
{$IF FPC_VERSION >= 030202} , joBOMCheck {$ENDIF}
{,joIgnoreDuplicates}]);
try
FInternalJSon := P.Parse;
finally