Skip to content

Commit

Permalink
Fix #193, problem in makeform macro in v0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
ScottPJones committed Mar 26, 2016
1 parent 09a85af commit 826f62b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/misc.jl
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ function in_expr_args(ex::Expr)
elseif (ex.head === :comparison && length(ex.args) == 3 &&
ex.args[2] === :in)
return ex.args[1], ex.args[3]
elseif (ex.head === :call && length(ex.args) == 3 &&
ex.args[1] === :in)
return ex.args[2], ex.args[3]
end
error("Not an `in` expression")
end
Expand Down

0 comments on commit 826f62b

Please sign in to comment.