aboutsummaryrefslogtreecommitdiff
path: root/src/analyze.cpp
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2017-04-08 17:45:22 -0400
committerAndrew Kelley <superjoe30@gmail.com>2017-04-08 17:45:22 -0400
commit095591f0b0f0d09bb1589fc404c2e7fdeac4bee4 (patch)
treed98a149b0a2472bdaef45b15bdcd42e4d6a42566 /src/analyze.cpp
parent7611ed3484ad810fe10d3c303a04d66bfa0bd6fd (diff)
downloadzig-095591f0b0f0d09bb1589fc404c2e7fdeac4bee4.tar.gz
zig-095591f0b0f0d09bb1589fc404c2e7fdeac4bee4.zip
add enumTagName builtin function
closes #299
Diffstat (limited to 'src/analyze.cpp')
-rw-r--r--src/analyze.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/analyze.cpp b/src/analyze.cpp
index 3cb67ca03f..5de319c550 100644
--- a/src/analyze.cpp
+++ b/src/analyze.cpp
@@ -1181,7 +1181,7 @@ bool type_is_invalid(TypeTableEntry *type_entry) {
}
-static TypeTableEntry *create_enum_tag_type(CodeGen *g, TypeTableEntry *enum_type, TypeTableEntry *int_type) {
+TypeTableEntry *create_enum_tag_type(CodeGen *g, TypeTableEntry *enum_type, TypeTableEntry *int_type) {
TypeTableEntry *entry = new_type_table_entry(TypeTableEntryIdEnumTag);
buf_resize(&entry->name, 0);