ast: Add use, tackle remaining low-hanging fruit
				
					
				
			This commit is contained in:
		@@ -307,13 +307,16 @@ impl<'t> Lexer<'t> {
 | 
			
		||||
                "macro" => TKind::Macro,
 | 
			
		||||
                "match" => TKind::Match,
 | 
			
		||||
                "mod" => TKind::Module,
 | 
			
		||||
                "mut" => TKind::Mut,
 | 
			
		||||
                "or" => TKind::Or,
 | 
			
		||||
                "pub" => TKind::Public,
 | 
			
		||||
                "return" => TKind::Return,
 | 
			
		||||
                "static" => TKind::Const, // TODO: Static
 | 
			
		||||
                "static" => TKind::Static,
 | 
			
		||||
                "struct" => TKind::Struct,
 | 
			
		||||
                "then" => TKind::Do,
 | 
			
		||||
                "true" => TKind::True,
 | 
			
		||||
                "type" => TKind::Type,
 | 
			
		||||
                "use" => TKind::Use,
 | 
			
		||||
                "while" => TKind::While,
 | 
			
		||||
                _ => token.kind,
 | 
			
		||||
            },
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user