Merge pull request #2370 from fabiansperber/parser_fix

Fix core:odin/parser #force_inline/force_no_inline call expression when it's a statement
This commit is contained in:
gingerBill
2023-03-20 19:48:58 +00:00
committed by GitHub
+1 -1
View File
@@ -1425,7 +1425,7 @@ parse_stmt :: proc(p: ^Parser) -> ^ast.Stmt {
return es
case "force_inline", "force_no_inline":
expr := parse_inlining_operand(p, true, tok)
expr := parse_inlining_operand(p, true, tag)
es := ast.new(ast.Expr_Stmt, expr.pos, expr.end)
es.expr = expr
return es