Small fixino

Signed-off-by: teo3300 <matteo.rogora@live.it>
This commit is contained in:
teo3300
2023-10-25 15:52:13 +09:00
parent 21a7c9e695
commit 6e45205904
2 changed files with 5 additions and 2 deletions

View File

@ -29,7 +29,10 @@ fn load_file(filename: &str, env: &Env) -> io::Result<()> {
// Read line to compose program input
input.push_str(&line);
if input == ""{continue;}
// TODO: Horrible way to deal with this but I don't want to fix it now
if input == "" || input.chars().next() == Some(';') {
continue;
}
match rep(&input, env) {
Ok(_) => {

View File

@ -6,4 +6,4 @@
(test 1 2 14)
(help test)
(quit)
;(quit)