mirror of
https://github.com/ziglang/zig.git
synced 2026-02-12 20:37:54 +00:00
Don't print line info if source is not available
This commit is contained in:
parent
108a51b110
commit
e4c262b804
@ -793,7 +793,7 @@ fn printLineInfo(
|
||||
try out_stream.write(GREEN ++ "^" ++ RESET ++ "\n");
|
||||
}
|
||||
} else |err| switch (err) {
|
||||
error.EndOfFile => {},
|
||||
error.EndOfFile, error.FileNotFound => {},
|
||||
else => return err,
|
||||
}
|
||||
} else {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user