You've already forked lazarus-ccr
csvdocument: small optimization based on short-circuit evaluation
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2520 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -411,7 +411,7 @@ end;
|
|||||||
|
|
||||||
procedure TCSVParser.ParseValue;
|
procedure TCSVParser.ParseValue;
|
||||||
begin
|
begin
|
||||||
while not ((FCurrentChar = FDelimiter) or EndOfFile or EndOfLine) do
|
while not ((FCurrentChar = FDelimiter) or EndOfLine or EndOfFile) do
|
||||||
begin
|
begin
|
||||||
AppendStr(FWhitespaceBuffer, FCurrentChar);
|
AppendStr(FWhitespaceBuffer, FCurrentChar);
|
||||||
NextChar;
|
NextChar;
|
||||||
|
Reference in New Issue
Block a user