Need to forward the name of the directive, not the hash token

This commit is contained in:
Fabian Sperber
2023-03-08 21:07:54 +01:00
parent 313b6874b1
commit 33798b8b80
+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