mirror of
				https://github.com/rm-dr/daisy
				synced 2025-10-30 22:14:55 -07:00 
			
		
		
		
	Fixed negative syntax bug
This commit is contained in:
		| @ -42,7 +42,7 @@ pub fn p_tokenize(input: &String) -> VecDeque<Token> { | ||||
| 					// If previous token was any of the following, | ||||
| 					// this is the "minus" operator | ||||
| 					Some(Token::PreNumber(_, _)) | | ||||
| 					Some(Token::PreGroup(_, _)) | | ||||
| 					Some(Token::PreGroupEnd(_)) | | ||||
| 					Some(Token::PreWord(_, _)) => { | ||||
| 						t = Some(Token::PreOperator( | ||||
| 							LineLocation{pos: i, len: 1}, | ||||
|  | ||||
		Reference in New Issue
	
	Block a user