mirror of
https://github.com/odin-lang/Odin.git
synced 2026-02-17 00:24:05 +00:00
Change implicit semicolon rules for record types within procedure bodies; Update package odin/*
This commit is contained in:
@@ -1344,7 +1344,8 @@ bool is_semicolon_optional_for_node(AstFile *f, Ast *s) {
|
||||
case Ast_UnionType:
|
||||
case Ast_EnumType:
|
||||
case Ast_BitFieldType:
|
||||
return true;
|
||||
// Require semicolon within a procedure body
|
||||
return f->curr_proc == false;
|
||||
case Ast_ProcLit:
|
||||
return true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user