It seems the best way to do this is (thanks to @JeffBezanson's patience):

julia> parse("""begin
       x = 1
       y = 2
       end""")
quote  # none, line 2:
    x = 1 # line 3:
    y = 2
end

So obvious now.. :)

Reply via email to