aboutsummaryrefslogtreecommitdiff
path: root/src/parser.c
diff options
context:
space:
mode:
authorGinger Bill <bill@gingerbill.org>2017-01-03 20:07:46 +0000
committerGinger Bill <bill@gingerbill.org>2017-01-03 20:07:46 +0000
commitcff1b3dff6d169675309d3f7a8433ed55b9a2007 (patch)
treead144e56efead6456064261b086bdc3befaada50 /src/parser.c
parent883dd0642c377840e3baaca341ea147e53c2d2d5 (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.c3
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: