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

This commit is contained in:
gingerBill committed 2019-07-28 22:58:56 +01:00
1 parent 162c87b1b8
commit 2c5c8192f8
7 files changed
+13 -9

No files matched your search

+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,