mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 11:09:42 +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;
|
||||
end;
|
||||
|
||||
EJSONScanner = Class(Exception);
|
||||
EJSONParser = Class(Exception);
|
||||
|
||||
implementation
|
||||
|
||||
@ -246,7 +246,7 @@ Var
|
||||
begin
|
||||
S:=Format(Msg,[CurrentTokenString]);
|
||||
S:=Format('Error at line %d, Pos %d:',[FScanner.CurRow,FSCanner.CurColumn])+S;
|
||||
Raise EJSONScanner.Create(S);
|
||||
Raise EJSONParser.Create(S);
|
||||
end;
|
||||
|
||||
constructor TJSONParser.Create(Source: TStream);
|
||||
|
Loading…
Reference in New Issue
Block a user