Skip to content

Commit b2186ca

Browse files
committed
WIP
1 parent cc3f364 commit b2186ca

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/libasr/pass/print_arr.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ class PrintArrVisitor : public PassUtils::PassVisitor<PrintArrVisitor>
8585
doloop_body.push_back(al, doloop);
8686
doloop_body.push_back(al, empty_print_endl);
8787
}
88-
doloop = ASRUtils::STMT(ASR::make_DoLoop_t(al, loc, head, doloop_body.p, doloop_body.size()));
88+
doloop = ASRUtils::STMT(ASR::make_DoLoop_t(al, loc, nullptr, head, doloop_body.p, doloop_body.size()));
8989
}
9090
return doloop;
9191
}

src/libasr/pass/print_list_tuple.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ class PrintListTupleVisitor
196196
}
197197

198198
ASR::stmt_t *loop = ASRUtils::STMT(ASR::make_DoLoop_t(
199-
al, loc, loop_head, loop_body.p, loop_body.size()));
199+
al, loc, nullptr, loop_head, loop_body.p, loop_body.size()));
200200

201201
{
202202
print_pass_result_tmp.push_back(al, print_open_bracket);

0 commit comments

Comments
 (0)