parsing enum declarations

This commit is contained in:
Andrew Kelley
2016-01-10 11:48:54 -07:00
parent 75d5786603
commit d4b8852d78
7 changed files with 190 additions and 16 deletions

View File

@@ -1754,6 +1754,8 @@ static LLVMValueRef gen_expr_no_cast(CodeGen *g, AstNode *node) {
case NodeTypeUse:
case NodeTypeStructDecl:
case NodeTypeStructField:
case NodeTypeEnumDecl:
case NodeTypeEnumField:
case NodeTypeStructValueField:
case NodeTypeCompilerFnExpr:
zig_unreachable();