xo-tokenizer: tiny: addr in span printout

This commit is contained in:
Roland Conybeare 2024-08-06 23:10:57 -04:00
commit 6f42b348e2

View file

@ -114,6 +114,7 @@ namespace xo {
/** print representation for this span on stream @p os **/
void print(std::ostream & os) const {
os << "<span"
<< xtag("addr", (void*)lo_)
<< xtag("size", size())
<< " :text " << xo::print::quot(std::string_view(lo_, hi_))
<< ">";