Skip to content

Commit a851509

Browse files
committed
refactor to pretty print
1 parent 9cd0337 commit a851509

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

src/parse/syntax.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,11 @@ impl<'a> SyntaxTreeDisplay<'a> {
163163
writeln!(
164164
f,
165165
"{}{}Atom: {:?} {:#?} ({:?})",
166-
prefix, connector, content, kind, position
166+
prefix,
167+
connector,
168+
content,
169+
kind,
170+
dbg_pos(position)
167171
)?;
168172
}
169173
}

0 commit comments

Comments
 (0)