Fix bugs
This commit is contained in:
parent
7360e698dd
commit
70f715fbb2
@ -20,13 +20,13 @@ pub struct NewRepl {
|
||||
}
|
||||
|
||||
impl NewRepl {
|
||||
pub fn new(languages: Vec<Box<ProgrammingLanguageInterface>>) -> NewRepl {
|
||||
pub fn new(initial_states: Vec<Box<ProgrammingLanguageInterface>>) -> NewRepl {
|
||||
use linefeed::Interface;
|
||||
let line_reader = Interface::new("schala-repl").unwrap();
|
||||
let interpreter_directive_sigil = ':';
|
||||
|
||||
NewRepl {
|
||||
interpreter_directive_sigil, line_reader, language_states
|
||||
interpreter_directive_sigil, line_reader, language_states: initial_states,
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user