mirror of
https://github.com/iritmaximus/compilers.git
synced 2026-10-12 19:13:35 +03:00
TOOO comment
This commit is contained in:
@@ -17,6 +17,7 @@ pub fn tokenizer(code: &str) -> Vec<&str> {
|
||||
let tokens: Vec<&str> = re
|
||||
.find_iter(code)
|
||||
.map(|mat| {
|
||||
// Add line number and location to token
|
||||
let token = mat.as_str();
|
||||
println!("{token}");
|
||||
token
|
||||
|
||||
Reference in New Issue
Block a user