fix automatic semicolons

main
TriMill 12 months ago
parent 7be878b97a
commit fcaa0fe5f9

@ -40,8 +40,9 @@ pub fn repl() -> Result<(), Box<dyn std::error::Error>> {
loop {
let readline = rl.readline(">> ");
match readline {
Ok(line) => {
Ok(mut line) => {
rl.add_history_entry(&line);
line.push(';');
let result = interpret(&line, None, Some(env.clone()), true);
match result {
Ok(value) => {

Loading…
Cancel
Save