Skip to content

Commit eb2fc1d

Browse files
committedAug 16, 2015
Fix unnecessary use of BLOCK macro
1 parent 73b9e8d commit eb2fc1d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎parser.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ static block gen_binop(block a, block b, int op) {
398398
}
399399

400400
static block gen_format(block a, jv fmt) {
401-
return BLOCK(a, gen_call("format", BLOCK(gen_lambda(gen_const(fmt)))));
401+
return BLOCK(a, gen_call("format", gen_lambda(gen_const(fmt))));
402402
}
403403

404404
static block gen_definedor_assign(block object, block val) {

‎parser.y

+1-1
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ static block gen_binop(block a, block b, int op) {
261261
}
262262

263263
static block gen_format(block a, jv fmt) {
264-
return BLOCK(a, gen_call("format", BLOCK(gen_lambda(gen_const(fmt)))));
264+
return BLOCK(a, gen_call("format", gen_lambda(gen_const(fmt))));
265265
}
266266

267267
static block gen_definedor_assign(block object, block val) {

0 commit comments

Comments
 (0)
Please sign in to comment.