Module folder working
This commit is contained in:
@@ -693,9 +693,9 @@ parse_file(Ast_File *file){
|
|||||||
assert(file);
|
assert(file);
|
||||||
|
|
||||||
Scratch scratch;
|
Scratch scratch;
|
||||||
file->filecontent = os_read_file(pctx->perm, file->filename.s);
|
file->filecontent = os_read_file(pctx->perm, file->absolute_path);
|
||||||
if(file->filecontent.len == 0){
|
if(file->filecontent.len == 0){
|
||||||
compiler_error(file->pos, "Failed to open file \"%Q\"", file->filename);
|
compiler_error(file->pos, "Failed to open file \"%Q\"", file->absolute_path);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
0
examples/runtime_type_information.kl
Normal file
0
examples/runtime_type_information.kl
Normal file
Reference in New Issue
Block a user