diff options
-rw-r--r-- | parser.c | 2 | ||||
-rw-r--r-- | parser.y | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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) { |