From 06a51a258b003c88a31c91cc2d984044e1b9466f Mon Sep 17 00:00:00 2001 From: TudbuT Date: Fri, 30 Aug 2024 14:30:23 +0200 Subject: [PATCH] remove debug prints --- Cargo.toml | 2 +- src/lexer.rs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index bb77f3f..932c5c7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "spl" -version = "0.2.0" +version = "0.2.1" edition = "2021" description = "Stack Pogramming Language: A simple, concise scripting language." license = "MIT" diff --git a/src/lexer.rs b/src/lexer.rs index ab1941a..e2501ff 100644 --- a/src/lexer.rs +++ b/src/lexer.rs @@ -179,7 +179,6 @@ fn read_block(str_words: &[String], isfn: bool) -> Result<(Option, Words, u types.push(str_words[i].to_owned()); i += 1; } - println!("{} {}", str_words[i], str_words[i+1]); let blk = read_block(&str_words[i + 1..], false)?; i += 2 + blk.2; println!("{} {}", str_words[i], str_words[i+1]);