Fix parsing for procedure literals expression statements; improve assert performance; other minor fixes
This commit is contained in:
1 parent
162c87b1b8
commit
2c5c8192f8
7 files changed
+13
-9
No files matched your search
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user