mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-16 16:09:30 +02:00
lcl: fixed compilation on fpc 3.0.1, bug #28811
git-svn-id: trunk@50016 -
This commit is contained in:
parent
4153607ab7
commit
7b3045a013
@ -88,7 +88,7 @@ interface
|
||||
uses
|
||||
Classes, SysUtils, LCLProc, FileUtil, LazFileUtils, StringHashList, AvgLvlTree,
|
||||
LConvEncoding, LazUTF8, LazUTF8Classes,
|
||||
{$IF FPC_FULLVERSION>=20701}jsonscanner,{$ENDIF} jsonparser, fpjson;
|
||||
{$IF FPC_FULLVERSION>=30101}jsonscanner,{$ENDIF} jsonparser, fpjson;
|
||||
|
||||
type
|
||||
TStringsType = (
|
||||
@ -1178,7 +1178,7 @@ var
|
||||
K, L: Integer;
|
||||
Data: TJSONData;
|
||||
begin
|
||||
Parser := TJSONParser.Create(InputLines.Text{$IF FPC_FULLVERSION>=20701},jsonscanner.DefaultOptions{$ENDIF});
|
||||
Parser := TJSONParser.Create(InputLines.Text{$IF FPC_FULLVERSION>=30101},jsonscanner.DefaultOptions{$ENDIF});
|
||||
try
|
||||
JsonData := Parser.Parse as TJSONObject;
|
||||
try
|
||||
|
Loading…
Reference in New Issue
Block a user