Fix unnecessary use of BLOCK macro
This commit is contained in:
1 parent
73b9e8dc99
commit
eb2fc1d27e
2 files changed
+2
-2
No files matched your search
@@ -398,7 +398,7 @@ static block gen_binop(block a, block b, int op) {
|
||||
}
|
||||
|
||||
static block gen_format(block a, jv fmt) {
|
||||
return BLOCK(a, gen_call("format", BLOCK(gen_lambda(gen_const(fmt)))));
|
||||
return BLOCK(a, gen_call("format", gen_lambda(gen_const(fmt))));
|
||||
}
|
||||
|
||||
static block gen_definedor_assign(block object, block val) {
|
||||
|
||||
@@ -261,7 +261,7 @@ static block gen_binop(block a, block b, int op) {
|
||||
}
|
||||
|
||||
static block gen_format(block a, jv fmt) {
|
||||
return BLOCK(a, gen_call("format", BLOCK(gen_lambda(gen_const(fmt)))));
|
||||
return BLOCK(a, gen_call("format", gen_lambda(gen_const(fmt))));
|
||||
}
|
||||
|
||||
static block gen_definedor_assign(block object, block val) {
|
||||
|
||||
Reference in new issue
Block a user