src/parser/String_Token_Stream.cc
void String_Token_Stream::report(string const &message) {
  Token token = lookahead();
  messages_ += token.location() + "\n" + message + '\n';

  Ensure(check_class_invariants());
}
//------------------------------------------------------------------------------------------------//
/*!
 * This function sends a message by writing it to an internal string..
 *
 * This version assumes that the cursor is the error location.
 */
This function sends a message by writing it to an internal string
This version assumes that the cursor is the error location.
This function sends a message by writing it to an internal string This version assumes that the cursor is the error location .
void String_Token_Stream::report(string const &message) {
  Token token = lookahead();
  messages_ += token.location() + "\n" + message + '\n';
  Ensure(check_class_invariants());
}
void String_Token_Stream :: report ( string const & message ) { Token token = lookahead ( ) ; messages_ += token . location ( ) + " \n " + message + ' \n ' ; Ensure ( check_class_invariants ( ) ) ; }
This function sends a message by writing it to an internal string..
This function sends a message by writing it to an internal string ..