Lines Matching refs:err_stream
44 StringStreamType err_stream; local
50 err_stream << "-unknown source-(";
54 err_stream << ex->get_streamName().c_str();
55 err_stream << "(";
57 err_stream << ex->get_line() << ")";
59 err_stream << ": lexer error " << ex->getName() << '(' << ex->getType() << ')' << " :\n\t"
73 err_stream << "near '" << (typename StringType::value_type) ex->get_c() << "' :\n";
77 err_stream << "near char(" << std::hex << ex->get_c() << std::dec << ") :\n";
79 err_stream << "\t";
80 err_stream.width( width > 20 ? 20 : width );
81 err_stream << (typename StringType::const_pointer)ex->get_index() << "\n";
85 …err_stream << "(end of input).\n\t This indicates a poorly specified lexer RULE\n\t or unterminate…
86 err_stream << "\t The lexer was matching from line "
96 err_stream << "looks like this:\n\t\t";
97 err_stream.width( width > 20 ? 20 : width );
98 …err_stream << (typename StringType::const_pointer)this->get_state()->get_tokenStartCharIndex() << …
102 err_stream << "is also the end of the line, so you must check your lexer rules\n";
106 ImplTraits::displayRecognitionError( err_stream.str() );