Skip to content

Commit

Permalink
Merge pull request #56 from musm/hygenie
Browse files Browse the repository at this point in the history
Fix hygiene bug
  • Loading branch information
amitmurthy authored Jan 8, 2017
2 parents 57a412b + 4461e79 commit bb3eeac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/xpath.jl
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ macro xpath_parse(arg1, arg2)
end
$(esc(:parsed)) = Expr(:call, :push!, $(esc(:parsed)), Expr(:tuple,Expr(:quote,$(esc(arg1))),a2))
else
push!($(esc(:parsed))::Vector{SymbolAny}, ($(arg1),$(arg2)))
push!($(esc(:parsed))::Vector{SymbolAny}, ($(esc(arg1)),$(esc(arg2))))
end
)
end
Expand All @@ -135,7 +135,7 @@ macro xpath_fn(arg1, arg2)
end
Expr(:tuple,Expr(:quote,$(esc(arg1))),a2)
else
($(arg1),$(arg2))
($(esc(arg1)),$(esc(arg2)))
end
)
end
Expand Down

0 comments on commit bb3eeac

Please sign in to comment.