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:
vvzh
2012-09-18 21:57:18 +00:00
parent b06f7759b9
commit 271226ddfb

View File

@ -411,7 +411,7 @@ end;
procedure TCSVParser.ParseValue;
begin
while not ((FCurrentChar = FDelimiter) or EndOfFile or EndOfLine) do
while not ((FCurrentChar = FDelimiter) or EndOfLine or EndOfFile) do
begin
AppendStr(FWhitespaceBuffer, FCurrentChar);
NextChar;