diff --git a/src/Pig.cpp b/src/Pig.cpp index 94040aec..8c4e9931 100644 --- a/src/Pig.cpp +++ b/src/Pig.cpp @@ -73,6 +73,10 @@ void Pig::debug (bool value) std::string Pig::dump () const { std::stringstream out; + out << "≪" << _text << "≫" + << " l" << _text.length () + << " m" << _mark + << " c" << _cursor; return out.str (); }