fix evaluation when a comment was used as last line of the block
parent
494c4e2b79
commit
47c8b748f2
2
init.jl
2
init.jl
|
@ -246,7 +246,7 @@ function OrgBabelFormat(output_type::Symbol,
|
||||||
catch
|
catch
|
||||||
end
|
end
|
||||||
# Dispatch on output type
|
# Dispatch on output type
|
||||||
code = pure ? "let $vars; $content; end" : "begin $vars; $content end"
|
code = pure ? "let $vars; $content; end" : "begin $vars; $content;\n end"
|
||||||
if output_type == :value
|
if output_type == :value
|
||||||
# Run the code
|
# Run the code
|
||||||
result = cd(dir) do
|
result = cd(dir) do
|
||||||
|
|
Loading…
Reference in New Issue