diff options
| author | Ginger Bill <bill@gingerbill.org> | 2017-07-21 15:25:58 +0100 |
|---|---|---|
| committer | Ginger Bill <bill@gingerbill.org> | 2017-07-21 15:25:58 +0100 |
| commit | 1df4aa90ce10dca629b8af73e74f884ab2339096 (patch) | |
| tree | 8e97ea90d8c2993c6935b20e13b49119e13afa7e /src/parser.cpp | |
| parent | 6b3cf051f8f95cd6c3e71f95d579653335a2dd35 (diff) | |
Fix struct parameter bugs
Diffstat (limited to 'src/parser.cpp')
| -rw-r--r-- | src/parser.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/parser.cpp b/src/parser.cpp index 4e764d2a6..b24aea6cf 100644 --- a/src/parser.cpp +++ b/src/parser.cpp @@ -2618,6 +2618,8 @@ bool is_literal_type(AstNode *node) { case AstNode_ArrayType: case AstNode_VectorType: case AstNode_StructType: + case AstNode_UnionType: + case AstNode_EnumType: case AstNode_DynamicArrayType: case AstNode_MapType: case AstNode_CallExpr: |