Skip to content

Commit 156a017

Browse files
committed
Add space between strings in print
1 parent 265e21b commit 156a017

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libasr/codegen/asr_to_llvm.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -7986,7 +7986,7 @@ class ASRToLLVMVisitor : public ASR::BaseVisitor<ASRToLLVMVisitor>
79867986
&& ASRUtils::is_character(*ASRUtils::expr_type(x.m_values[i - 1])))) {
79877987
args.push_back(sep);
79887988
} else {
7989-
sep_no_space = sep_no_space != nullptr ? sep_no_space : builder->CreateGlobalStringPtr("");
7989+
sep_no_space = sep_no_space != nullptr ? sep_no_space : builder->CreateGlobalStringPtr(" ");
79907990
args.push_back(sep_no_space);
79917991
}
79927992
}

0 commit comments

Comments
 (0)