changed stack trace formatting

This commit is contained in:
Goren Barak 2024-01-03 23:23:07 -05:00
parent 1fe196b405
commit ec380f8a3a

View file

@ -139,8 +139,10 @@ impl<'a> Vm {
match parser.inner_next() { match parser.inner_next() {
Some("stack") => { Some("stack") => {
for item in &self.stack { for item in &self.stack {
println!("{:?}", item); print!("{:?} ", item);
} }
print!("<- TOP");
println!();
}, },
Some("data") => { Some("data") => {
println!("{:?}", self.dictionary.data); println!("{:?}", self.dictionary.data);