chore: stop normalizing the input path in error messages

This commit is contained in:
Sebastian Ullrich 2020-04-29 16:37:28 +02:00
parent 76a97ea4fc
commit a5382f45ff

View file

@ -600,7 +600,7 @@ int main(int argc, char ** argv) {
display_help(std::cerr);
return 1;
}
mod_fn = lrealpath(argv[optind++]);
mod_fn = argv[optind++];
contents = read_file(mod_fn);
main_module_name = module_name_of_file(mod_fn, /* optional */ !olean_fn && !c_output);
}