Make the lexer return an error struct giving access to line number, column and message