1/*******************************************************************\
3Module: ANSI-C Misc Utilities
5Author: Daniel Kroening, kroening@kroening.com
7\*******************************************************************/
71 // Show low and certain high ascii as octal
72 if((
static_cast<unsigned char>(
c)<
' ') || (
c==127))
74 out <<
"\\" << std::oct << static_cast<unsigned char>(
c);
78 // leave everything else to permit UTF-8 and 8-bit codepages
97 std::ostringstream result;
99 for(
const auto &
ch : in)
std::string MetaString(const std::string &in)
static void MetaChar(std::ostringstream &out, char c, bool inString)
ait supplies three of the four components needed: an abstract interpreter (in this case handling func...