Minor simplification.

This commit is contained in:
Ferdinand Majerech 2014-07-23 00:41:14 +02:00
parent 48f86653dc
commit 86c015fb5a

View file

@ -202,7 +202,7 @@ final class Reader
{
mixin FastCharSearch!"\n\u0085\u2028\u2029"d search;
while(length > 0)
for(; length > 0; --length)
{
const c = buffer_[bufferOffset_];
++bufferOffset_;
@ -213,8 +213,7 @@ final class Reader
++line_;
column_ = 0;
}
else if(c != '\uFEFF'){++column_;}
--length;
else if(c != '\uFEFF') { ++column_; }
}
}