This commit is contained in:
gingerBill
2022-02-02 23:38:40 +00:00
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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)
+1 -1
View File
@@ -234,7 +234,7 @@ is_nil :: proc(v: any) -> bool {
return true
}
data := as_bytes(v)
if data != nil {
if data == nil {
return true
}
for v in data {