merge 3.4
This commit is contained in:
commit
57bda335e1
|
@ -1025,7 +1025,7 @@ tok_nextc(struct tok_state *tok)
|
||||||
else {
|
else {
|
||||||
tok->done = E_OK;
|
tok->done = E_OK;
|
||||||
tok->inp = strchr(tok->buf, '\0');
|
tok->inp = strchr(tok->buf, '\0');
|
||||||
done = tok->inp[-1] == '\n';
|
done = tok->inp == tok->buf || tok->inp[-1] == '\n';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Reference in New Issue