Skip to content

Commit

Permalink
refactor: renamed parser.rs to scanner.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
xNaCly committed Apr 4, 2023
1 parent 655cf6c commit 409c801
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

const VERSION: &str = "v0.1.0";

mod parser;
mod scanner;
mod token;
mod transformer;

Expand All @@ -15,7 +15,7 @@ fn main() {
}

let file_name = args.get(1).expect("not enough arguments");
let mut p = parser::Parser::new(&file_name);
let mut p = scanner::Parser::new(&file_name);
let tokens = p.parse();
println!("{}", transformer::transform(tokens));
}
File renamed without changes.

0 comments on commit 409c801

Please sign in to comment.