mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 15:48:51 +00: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
|
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)
|
||||||
|
|||||||
@@ -234,7 +234,7 @@ is_nil :: proc(v: any) -> bool {
|
|||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
data := as_bytes(v)
|
data := as_bytes(v)
|
||||||
if data != nil {
|
if data == nil {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
for v in data {
|
for v in data {
|
||||||
|
|||||||
Reference in New Issue
Block a user