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:
parent
fa07dea585
commit
1299ddfe3f
|
@ -74,7 +74,7 @@ class CSVLexer extends Lexer {
|
|||
}
|
||||
|
||||
// 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;
|
||||
return tkn;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue