This commit is contained in:
greg 2019-03-13 20:07:41 -07:00
parent 7360e698dd
commit 70f715fbb2
1 changed files with 2 additions and 2 deletions

View File

@ -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,
}
}