Ast Render no longer outputs erroneous semicolon

closes #813
This commit is contained in:
Jimmi Holst Christensen
2018-03-07 10:39:32 +01:00
parent d96dd5bc32
commit bb80daf509
4 changed files with 22 additions and 17 deletions

View File

@@ -2315,7 +2315,7 @@ static AstNode *ast_parse_expression(ParseContext *pc, size_t *token_index, bool
return nullptr;
}
static bool statement_terminates_without_semicolon(AstNode *node) {
bool statement_terminates_without_semicolon(AstNode *node) {
switch (node->type) {
case NodeTypeIfBoolExpr:
if (node->data.if_bool_expr.else_node)