mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 11:09:42 +02:00
* Correct line number
git-svn-id: trunk@47344 -
This commit is contained in:
parent
74b533f167
commit
af415ddc0d
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user