mirror of
https://github.com/rm-dr/daisy
synced 2025-10-26 12:04:27 -07:00
Added tuples
This commit is contained in:
@ -135,6 +135,14 @@ pub fn tokenize(input: &String) -> VecDeque<Token> {
|
||||
};
|
||||
},
|
||||
|
||||
',' => {
|
||||
push_token(&mut g, t, i);
|
||||
t = Some(Token::Operator(
|
||||
LineLocation{pos: i, len: 1},
|
||||
String::from(c)
|
||||
));
|
||||
},
|
||||
|
||||
// Operator
|
||||
'^'|'!'|'%'|'\\'|
|
||||
'*'|'×'|'/'|'÷'|
|
||||
|
||||
Reference in New Issue
Block a user