void message_handlert::print( unsigned level, const std::string &message, int sequence_number, const locationt &location) { std::string dest; const irep_idt &file=location.get_file(); const irep_idt &line=location.get_line(); const irep_idt &column=location.get_column(); const irep_idt &function=location.get_function(); if(file!="") { if(dest!="") dest+=" "; dest+="file "+id2string(file); } if(line!="") { if(dest!="") dest+=" "; dest+="line "+id2string(line); } if(column!="") { if(dest!="") dest+=" "; dest+="column "+id2string(column); } if(function!="") { if(dest!="") dest+=" "; dest+="function "+id2string(function); } if(dest!="") dest+=": "; dest+=message; print(level, dest); }