Merge pull request #1457 from DanielGavin/parser-inline

Fix core:odin/parser not setting the inline flag correctly.
This commit is contained in:
gingerBill authored and GitHub committed 2022-02-02 16:32:09 +00:00
commit e250475bf9
1 file changed
+1 -1
+1 -1
View File
@@ -2319,7 +2319,7 @@ parse_operand :: proc(p: ^Parser, lhs: bool) -> ^ast.Expr {
return rt return rt
case "force_inline", "force_no_inline": case "force_inline", "force_no_inline":
return parse_inlining_operand(p, lhs, tok) return parse_inlining_operand(p, lhs, name)
case: case:
expr := parse_expr(p, lhs) expr := parse_expr(p, lhs)
te := ast.new(ast.Tag_Expr, tok.pos, expr.pos) te := ast.new(ast.Tag_Expr, tok.pos, expr.pos)