Oops - fix bug introduced in r1303933

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1303948 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Sebastian Bazley 2012-03-22 18:15:20 +00:00
parent fa07dea585
commit 1299ddfe3f
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ class CSVLexer extends Lexer {
} }
// did we reach eof during the last iteration already ? EOF // did we reach eof during the last iteration already ? EOF
if (isEndOfFile(lastChar) || (isDelimiter(lastChar) && isEndOfFile(c))) { if (isEndOfFile(lastChar) || (!isDelimiter(lastChar) && isEndOfFile(c))) {
tkn.type = EOF; tkn.type = EOF;
return tkn; return tkn;
} }