Skip to content

Commit

Permalink
syntax update
Browse files Browse the repository at this point in the history
  • Loading branch information
a committed Oct 22, 2023
1 parent dded1f0 commit 50df8e8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Syntax.jl
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,7 @@ function makepattern(ex::Expr, pvars, slots, mod = @__MODULE__, splat = false)
# Retrieve the function object if available
# Optionally quote function objects
args = arguments(ex)

istree(op) && (op = makepattern(op, pvars, slots, mod, false))

istree(op) && (op = makepattern(op, pvars, slots, mod))

if head === :call
if operation(ex) === :(~) # is a variable or segment
Expand Down

0 comments on commit 50df8e8

Please sign in to comment.