mirror of
https://github.com/odin-lang/Odin.git
synced 2026-09-17 17:59:33 -04:00
Fix constant aliasing for debug information
This commit is contained in:
1 parent
6667b78c12
commit
04535b2913
3 files changed
+11
-3
No files matched your search
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user