crisprVerse/kaori

Fix the line count calculation

LTLA opened this issue · 0 comments

LTLA commented

at

// Processing the sequence itself until we get to a '+'.
sequence.clear();
val = advance_and_check();
while (val != '+') {
if (val != '\n') {
sequence.push_back(val);
}
val = advance_and_check();
}
++line_count;

it's probably unnecesarry to check val != '+' at each iteration, given that should only happen after a newline.