Skip to content

Commit

Permalink
Format .jl files (#123)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] authored Mar 8, 2020
1 parent 7ecc27e commit 7f1ef39
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/treeutils/load.jl
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,11 @@ function parse_ex(ex, info::ParseInfo)
loc = render_loc((exloc...,), info.nbit)
:(subroutine($(info.nbit), $(parse_ex(g, ParseInfo(length(loc), info.version))), $loc))
end
:(begin
$(cargs...)
end) => begin
:(
begin
$(cargs...)
end
) => begin
args = filter(x -> x !== nothing, [parse_ex(arg, info) for arg in cargs])
:(chain($(info.nbit), [$(args...)]))
end
Expand Down

0 comments on commit 7f1ef39

Please sign in to comment.