mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-17 18:29:09 +02:00
* Renamed EJSONScanner to EJSONParser
git-svn-id: trunk@17609 -
This commit is contained in:
parent
b057c320da
commit
ecf77c3fa3
@ -48,7 +48,7 @@ Type
|
|||||||
Property Strict : Boolean Read FStrict Write SetStrict;
|
Property Strict : Boolean Read FStrict Write SetStrict;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
EJSONScanner = Class(Exception);
|
EJSONParser = Class(Exception);
|
||||||
|
|
||||||
implementation
|
implementation
|
||||||
|
|
||||||
@ -246,7 +246,7 @@ Var
|
|||||||
begin
|
begin
|
||||||
S:=Format(Msg,[CurrentTokenString]);
|
S:=Format(Msg,[CurrentTokenString]);
|
||||||
S:=Format('Error at line %d, Pos %d:',[FScanner.CurRow,FSCanner.CurColumn])+S;
|
S:=Format('Error at line %d, Pos %d:',[FScanner.CurRow,FSCanner.CurColumn])+S;
|
||||||
Raise EJSONScanner.Create(S);
|
Raise EJSONParser.Create(S);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
constructor TJSONParser.Create(Source: TStream);
|
constructor TJSONParser.Create(Source: TStream);
|
||||||
|
Loading…
Reference in New Issue
Block a user