Lexer string type, exception message line numbers were switched, and functional test.