Skip to content

Commit f5876e2

Browse files
authored
Keep quotation marks when printing strings (#225)
1 parent 6c3693d commit f5876e2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/types.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -425,6 +425,7 @@ cdrargs(args) = setargs(t, cdr(args))
425425
print_arg(io, x::Union{Complex, Rational}) = print(io, "(", x, ")")
426426
print_arg(io, x) = print(io, x)
427427
print_arg(io, f::typeof(^), x) = print_arg(IOContext(io, :paren=>true), x)
428+
print_arg(io, s::String) = show(io, s)
428429
function print_arg(io, f, x)
429430
f !== (*) && return print_arg(io, x)
430431
if istree(x) && Base.isbinaryoperator(nameof(operation(x)))

0 commit comments

Comments
 (0)