diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2017-11-29 23:09:35 -0500 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2017-11-29 23:09:35 -0500 |
| commit | 210d0017c40ee24215ce705fcee342fe34b9dccb (patch) | |
| tree | a558e09c2da78d3c506266adae7e378c76c0ce0f /src/error.cpp | |
| parent | 7729f6cf4edd7c8eda935b1c7c8b4276d73b6e69 (diff) | |
| download | zig-210d0017c40ee24215ce705fcee342fe34b9dccb.tar.gz zig-210d0017c40ee24215ce705fcee342fe34b9dccb.zip | |
fix build broken by previous commit
now we report a compile error for unusual failures from translate-c
Diffstat (limited to 'src/error.cpp')
| -rw-r--r-- | src/error.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/error.cpp b/src/error.cpp index a6953d4ab3..8303a80a1d 100644 --- a/src/error.cpp +++ b/src/error.cpp @@ -26,6 +26,7 @@ const char *err_str(int err) { case ErrorExactDivRemainder: return "exact division had a remainder"; case ErrorNegativeDenominator: return "negative denominator"; case ErrorShiftedOutOneBits: return "exact shift shifted out one bits"; + case ErrorCCompileErrors: return "C compile errors"; } return "(invalid error)"; } |
