Fix parsing for procedure literals expression statements; improve assert performance; other minor fixes

This commit is contained in:
gingerBill
2019-07-28 22:58:56 +01:00
parent 162c87b1b8
commit 2c5c8192f8
7 changed files with 13 additions and 9 deletions
+1
View File
@@ -955,6 +955,7 @@ parse_stmt :: proc(p: ^Parser) -> ^ast.Stmt {
switch p.curr_tok.kind {
// Operands
case token.Context, // Also allows for 'context = '
token.Proc,
token.Inline, token.No_Inline,
token.Ident,
token.Integer, token.Float, token.Imag,