xo-tokenizer: tiny: addr in span printout
This commit is contained in:
parent
5d31ac7a43
commit
6f42b348e2
1 changed files with 1 additions and 0 deletions
|
|
@ -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_))
|
||||
<< ">";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue