Added define operator

This commit is contained in:
2023-06-14 20:18:28 -07:00
parent b6343db0d6
commit 6bd7043971
10 changed files with 124 additions and 60 deletions

View File

@ -136,7 +136,7 @@ pub fn tokenize(input: &String) -> VecDeque<PreToken> {
// Operator
'*'|'×'|'/'|'÷'|
'^'|'!'|'%'
'^'|'!'|'%'|'='
=> {
match &mut t {
Some(PreToken::PreOperator(_, val)) => { val.push(c); },