Merge branch 'bugfix-lune-allcases'

Fix *all* cases of the ++lune jet
This commit is contained in:
Raymond Pasco 2016-03-03 19:20:17 -05:00
commit afcb71742d

View File

@ -21,11 +21,7 @@
}
if (pos_w == 0) {
if (u3r_byte(0, lub) == 10) {
return u3nc(u3_nul, lin);
} else {
return u3m_error("noeol");
}
return u3nc(u3_nul, lin);
}
while (--pos_w) {
@ -37,7 +33,7 @@
if (u3r_byte(pos_w, lub) == 10) {
return u3nc(u3_nul,
u3nc(u3qc_cut(3, pos_w, (end_w - pos_w), lub), lin));
u3nc(u3qc_cut(3, (pos_w + 1), (end_w - pos_w - 1), lub), lin));
}
return u3nc(u3qc_cut(3, pos_w, (end_w - pos_w), lub), lin);