From ec380f8a3ae051c4210449bbe314169bdcdbe6e0 Mon Sep 17 00:00:00 2001 From: Goren Barak Date: Wed, 3 Jan 2024 23:23:07 -0500 Subject: [PATCH] changed stack trace formatting --- src/backend.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/backend.rs b/src/backend.rs index b65efe7..08c5c5e 100644 --- a/src/backend.rs +++ b/src/backend.rs @@ -139,8 +139,10 @@ impl<'a> Vm { match parser.inner_next() { Some("stack") => { for item in &self.stack { - println!("{:?}", item); + print!("{:?} ", item); } + print!("<- TOP"); + println!(); }, Some("data") => { println!("{:?}", self.dictionary.data);