rewrite of error output in lexer
back file mode