mirror of
https://github.com/odin-lang/Odin.git
synced 2026-02-27 21:34:59 +00:00
Fix typos and make demo work with -vet
This commit is contained in:
@@ -1345,7 +1345,7 @@ bool is_semicolon_optional_for_node(AstFile *f, Ast *s) {
|
||||
case Ast_EnumType:
|
||||
case Ast_BitFieldType:
|
||||
// Require semicolon within a procedure body
|
||||
return f->curr_proc == false;
|
||||
return f->curr_proc == nullptr;
|
||||
case Ast_ProcLit:
|
||||
return true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user