Solved a nasty bug on the lexer: when backtracking across lines, a bad check
was identifying end of file and returning an EOF error. The check has now been corrected
and moved in the right location (function next_line()).