diff options
| author | Ginger Bill <bill@gingerbill.org> | 2017-01-03 20:07:46 +0000 |
|---|---|---|
| committer | Ginger Bill <bill@gingerbill.org> | 2017-01-03 20:07:46 +0000 |
| commit | cff1b3dff6d169675309d3f7a8433ed55b9a2007 (patch) | |
| tree | ad144e56efead6456064261b086bdc3befaada50 /src/parser.c | |
| parent | 883dd0642c377840e3baaca341ea147e53c2d2d5 (diff) | |
v0.0.5
Fix enumerations to so they work as integers in indices; Add llir_opt.c and llir_print.c
Diffstat (limited to 'src/parser.c')
| -rw-r--r-- | src/parser.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/parser.c b/src/parser.c index 43b2b7591..b68836d23 100644 --- a/src/parser.c +++ b/src/parser.c @@ -1262,6 +1262,9 @@ bool is_semicolon_optional_for_node(AstFile *f, AstNode *s) { case AstNode_HelperType: return is_semicolon_optional_for_node(f, s->HelperType.type); + case AstNode_PointerType: + return is_semicolon_optional_for_node(f, s->PointerType.type); + case AstNode_StructType: case AstNode_UnionType: case AstNode_RawUnionType: |