* Renamed EJSONScanner to EJSONParser

git-svn-id: trunk@17609 -
This commit is contained in:
michael 2011-05-30 07:15:28 +00:00
parent b057c320da
commit ecf77c3fa3

View File

@ -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);