Improve support for line continuations

Closes #5