Skip to content
This repository has been archived by the owner on Sep 23, 2023. It is now read-only.

Commit

Permalink
Error fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
nyzd committed Sep 19, 2023
1 parent 6eac07c commit 9df6d16
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/lexer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,9 @@ impl Lexer {

// Check filename for std
let file_data = match file_name {
"math" => include_str!("../std/math.jsl").to_string(),
"std" => include_str!("../std/std.jsl").to_string(),
"memory" => include_str!("../std/memory.jsl").to_string(),
//"math" => include_str!("../std/math.jsl").to_string(),
//"std" => include_str!("../std/std.jsl").to_string(),
//"memory" => include_str!("../std/memory.jsl").to_string(),
_ => {
// read file
let mut file = File::open(file_name).unwrap();
Expand Down

0 comments on commit 9df6d16

Please sign in to comment.