aboutsummaryrefslogtreecommitdiff
path: root/src/all_types.hpp
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2016-09-13 16:46:27 -0400
committerAndrew Kelley <superjoe30@gmail.com>2016-09-13 16:46:27 -0400
commit06f2f4d64b63cf78a3ff77cc64dbc822123f454d (patch)
tree2444a286bc3a33c09fa769f692a4fc013316c7c3 /src/all_types.hpp
parentea2f6594ce02187875ce052c1a7c43acf60884f9 (diff)
downloadzig-06f2f4d64b63cf78a3ff77cc64dbc822123f454d.tar.gz
zig-06f2f4d64b63cf78a3ff77cc64dbc822123f454d.zip
change `unreachable{}` to `@unreachable()`
instead of a container init expression, it's a builtin function call.
Diffstat (limited to 'src/all_types.hpp')
-rw-r--r--src/all_types.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/all_types.hpp b/src/all_types.hpp
index d5b24b121d..71bc596f81 100644
--- a/src/all_types.hpp
+++ b/src/all_types.hpp
@@ -1174,6 +1174,7 @@ enum BuiltinFnId {
BuiltinFnIdDivExact,
BuiltinFnIdTruncate,
BuiltinFnIdIntType,
+ BuiltinFnIdUnreachable,
};
struct BuiltinFnEntry {