Fix constant aliasing for debug information

This commit is contained in:
gingerBill
2021-04-26 22:36:20 +01:00
parent 6667b78c12
commit 04535b2913
3 changed files with 11 additions and 3 deletions

View File

@@ -1502,6 +1502,10 @@ bool is_semicolon_optional_for_node(AstFile *f, Ast *s) {
return false;
}
if (build_context.insert_semicolon) {
return true;
}
switch (s->kind) {
case Ast_EmptyStmt:
case Ast_BlockStmt: