fix evaluation when a comment was used as last line of the block

master
nixo 2020-06-11 10:19:00 +02:00
parent 494c4e2b79
commit 47c8b748f2
1 changed files with 1 additions and 1 deletions

View File

@ -246,7 +246,7 @@ function OrgBabelFormat(output_type::Symbol,
catch
end
# 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
# Run the code
result = cd(dir) do