added support for instring variables and made character IDs
be always stored in lowercase
This commit is contained in:
@@ -10,6 +10,7 @@ use crate::
|
||||
VecDeque,
|
||||
warn,
|
||||
debug,
|
||||
info,
|
||||
mpsc::Receiver,
|
||||
};
|
||||
use super::keyword_parse;
|
||||
@@ -62,6 +63,7 @@ pub fn identifier_parse
|
||||
"input" =>
|
||||
{
|
||||
api::modify_data(happening_queue, "input".to_string(), String::new(), String::new(), Vec::new());
|
||||
info!("Waiting for client input");
|
||||
let input = match rx.recv()
|
||||
{
|
||||
Ok((_,input)) => input,
|
||||
@@ -72,6 +74,7 @@ pub fn identifier_parse
|
||||
}
|
||||
};
|
||||
variables.insert(identifier.to_owned(), tokenise::Value::String(input));
|
||||
sum_index += 1;
|
||||
},
|
||||
_ =>
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user