From 1b8c3ca22a28b8ca36175d3e20a3993cba315dae Mon Sep 17 00:00:00 2001 From: gingerBill Date: Tue, 8 Oct 2019 20:28:45 +0100 Subject: Fix typos and make demo work with -vet --- src/parser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/parser.cpp') diff --git a/src/parser.cpp b/src/parser.cpp index e17d19787..025a181ba 100644 --- a/src/parser.cpp +++ b/src/parser.cpp @@ -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; -- cgit v1.2.3