Adding line numbers to lexical errors