~fd/cane-lang

e8949b4e3f894524b0b90b1dfa06a367a0c77a59 — Ersei Saggi 10 months ago d2c6b70
Final formatting (last commit today I swear)
1 files changed, 7 insertions(+), 2 deletions(-)

M cane-lang/src/lib.rs
M cane-lang/src/lib.rs => cane-lang/src/lib.rs +7 -2
@@ 565,7 565,12 @@ where
                                    self.stdin.read_line(&mut input).unwrap();
                                    let mut data = Data::new(Types::STRING);
                                    data.set_string(input);
                                    self.call_stack.last_mut().unwrap().get_data().get_list().push(data);
                                    self.call_stack
                                        .last_mut()
                                        .unwrap()
                                        .get_data()
                                        .get_list()
                                        .push(data);
                                }
                                "sub" => {
                                    let data = self.call_stack.last_mut().unwrap().get_data();


@@ 818,7 823,7 @@ where
                                                let mut action_interp = Interpreter::new(
                                                    reader,
                                                    self.stdout,
                                                        self.stdin,
                                                    self.stdin,
                                                    self.variables,
                                                    self.call_stack
                                                        .last_mut()