Skip to content

Commit f91e0c1

Browse files
committed
Fix mistake
1 parent 156a017 commit f91e0c1

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/libasr/codegen/asr_to_llvm.cpp

+2-4
Original file line numberDiff line numberDiff line change
@@ -7981,12 +7981,10 @@ class ASRToLLVMVisitor : public ASR::BaseVisitor<ASRToLLVMVisitor>
79817981
for (size_t i=0; i<x.n_values; i++) {
79827982
if (i != 0) {
79837983
fmt.push_back("%s");
7984-
if (global_sep_space &&
7985-
!(ASRUtils::is_character(*ASRUtils::expr_type(x.m_values[i]))
7986-
&& ASRUtils::is_character(*ASRUtils::expr_type(x.m_values[i - 1])))) {
7984+
if (global_sep_space) {
79877985
args.push_back(sep);
79887986
} else {
7989-
sep_no_space = sep_no_space != nullptr ? sep_no_space : builder->CreateGlobalStringPtr(" ");
7987+
sep_no_space = sep_no_space != nullptr ? sep_no_space : builder->CreateGlobalStringPtr("");
79907988
args.push_back(sep_no_space);
79917989
}
79927990
}

0 commit comments

Comments
 (0)