Fix unnecessary use of BLOCK macro

This commit is contained in:
David Tolnay committed 2015-08-16 09:01:35 -07:00
1 parent 73b9e8dc99
commit eb2fc1d27e
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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) {
+1 -1
View File
@@ -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) {