aboutsummaryrefslogtreecommitdiff
path: root/src/error.cpp
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2018-11-26 20:04:35 -0500
committerAndrew Kelley <andrew@ziglang.org>2018-11-26 20:04:35 -0500
commit67a39a4c99106714588676db0168fef52e0ecd9c (patch)
treefe52321c10fce3a432acc2236607ffb640f74651 /src/error.cpp
parentd2ed4d3dd39505397b1edf7fdfc79f6aa200d495 (diff)
downloadzig-67a39a4c99106714588676db0168fef52e0ecd9c.tar.gz
zig-67a39a4c99106714588676db0168fef52e0ecd9c.zip
stage1: better file path handling
* better message printed when cache hash fails * better handling of '/' as root source file * os_path_split parses '/' and '/a' correctly closes #1693 closes #1746
Diffstat (limited to 'src/error.cpp')
-rw-r--r--src/error.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/error.cpp b/src/error.cpp
index d0575a8494..10186fbde5 100644
--- a/src/error.cpp
+++ b/src/error.cpp
@@ -33,6 +33,7 @@ const char *err_str(Error err) {
case ErrorSharingViolation: return "sharing violation";
case ErrorPipeBusy: return "pipe busy";
case ErrorPrimitiveTypeNotFound: return "primitive type not found";
+ case ErrorCacheUnavailable: return "cache unavailable";
}
return "(invalid error)";
}