* Correct line number

git-svn-id: trunk@47344 -
This commit is contained in:
michael 2020-11-08 17:10:07 +00:00
parent 74b533f167
commit af415ddc0d

View File

@ -169,6 +169,8 @@ constructor TJSONScanner.Create(const aSource: RawByteString; AOptions: TJSONOpt
begin
FSource:=aSource;
FCurPos:=PAnsiChar(FSource);
if FCurPos<>Nil then
FCurRow:=1;
FOptions:=AOptions;
end;