mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-22 21:54:59 -07:00
Merge branch 'master' of https://github.com/odin-lang/Odin
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user