Skip to content

Commit

Permalink
fix linux build
Browse files Browse the repository at this point in the history
  • Loading branch information
mustafaquraish committed Mar 25, 2024
1 parent 5d9b7e6 commit c5c2f5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/parser.oc
Original file line number Diff line number Diff line change
Expand Up @@ -2130,7 +2130,7 @@ def Parser::create_namespaces_for_initial_file(&this, filename: str, single_file
}

// Remove file extension
let file_base = basename(filename)
let file_base = basename(filename).copy()
if file_base.ends_with(".oc") {
file_base[file_base.len() - 3] = '\0'
}
Expand Down

0 comments on commit c5c2f5d

Please sign in to comment.