diff options
| author | gingerBill <gingerBill@users.noreply.github.com> | 2022-02-02 16:32:09 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-02-02 16:32:09 +0000 |
| commit | e250475bf90491c7d28913ea196c5dd8a166ca42 (patch) | |
| tree | 2103535ed990fd1094d3b4ae95d3ed65fce3b378 | |
| parent | 5db603ded27b8cb6dac444fa660009fd7ecc5184 (diff) | |
| parent | ff5e03677366141516b86783f4f3031c6f5e83ab (diff) | |
Merge pull request #1457 from DanielGavin/parser-inline
Fix core:odin/parser not setting the inline flag correctly.
| -rw-r--r-- | core/odin/parser/parser.odin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/odin/parser/parser.odin b/core/odin/parser/parser.odin index e8c2c848d..0ebabfd70 100644 --- a/core/odin/parser/parser.odin +++ b/core/odin/parser/parser.odin @@ -2319,7 +2319,7 @@ parse_operand :: proc(p: ^Parser, lhs: bool) -> ^ast.Expr { return rt case "force_inline", "force_no_inline": - return parse_inlining_operand(p, lhs, tok) + return parse_inlining_operand(p, lhs, name) case: expr := parse_expr(p, lhs) te := ast.new(ast.Tag_Expr, tok.pos, expr.pos) |