Fixed negative syntax bug

pull/2/head
Mark 2023-03-27 10:55:06 -07:00
parent 1774c105f4
commit d2f03976f8
Signed by: Mark
GPG Key ID: AD62BB059C2AAEE4
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ pub fn p_tokenize(input: &String) -> VecDeque<Token> {
// If previous token was any of the following, // If previous token was any of the following,
// this is the "minus" operator // this is the "minus" operator
Some(Token::PreNumber(_, _)) | Some(Token::PreNumber(_, _)) |
Some(Token::PreGroup(_, _)) | Some(Token::PreGroupEnd(_)) |
Some(Token::PreWord(_, _)) => { Some(Token::PreWord(_, _)) => {
t = Some(Token::PreOperator( t = Some(Token::PreOperator(
LineLocation{pos: i, len: 1}, LineLocation{pos: i, len: 1},