token: Remove and and or tokens, since they clash with operator overload function names
				
					
				
			This commit is contained in:
		@@ -289,7 +289,6 @@ impl<'t> Lexer<'t> {
 | 
			
		||||
        let token = self.produce(TKind::Identifier);
 | 
			
		||||
        Ok(Token {
 | 
			
		||||
            kind: match lexeme {
 | 
			
		||||
                "and" => TKind::And,
 | 
			
		||||
                "as" => TKind::As,
 | 
			
		||||
                "break" => TKind::Break,
 | 
			
		||||
                "const" => TKind::Const,
 | 
			
		||||
@@ -308,7 +307,6 @@ impl<'t> Lexer<'t> {
 | 
			
		||||
                "match" => TKind::Match,
 | 
			
		||||
                "mod" => TKind::Module,
 | 
			
		||||
                "mut" => TKind::Mut,
 | 
			
		||||
                "or" => TKind::Or,
 | 
			
		||||
                "pub" => TKind::Public,
 | 
			
		||||
                "return" => TKind::Return,
 | 
			
		||||
                "static" => TKind::Static,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user