src/Generic/patterns/Pattern.cpp
// to be used from a static method

to be used from a static method
to be used from a static method
void Pattern::throwErrorStatic(const Sexp *sexp, const char *reason) {
	std::stringstream error;
	error << "Parser error : " << reason << ": " << sexp->to_debug_string();
	throw UnexpectedInputException("Pattern::throwError()", error.str().c_str());
}
void Pattern :: throwErrorStatic ( const Sexp * sexp , const char * reason ) { std :: stringstream error ; error << " " << reason << " " << sexp -> to_debug_string ( ) ; throw UnexpectedInputException ( " " , error . str ( ) . c_str ( ) ) ; }
to be used from a static method
to be used from a static method