Skip to content

Commit bc6f54e

Browse files
committed
esc in @acrule
1 parent cdcf425 commit bc6f54e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rule_dsl.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ getdepth(r::ACRule) = getdepth(r.rule)
185185
macro acrule(expr)
186186
arity = length(expr.args[2].args[2:end])
187187
quote
188-
ACRule(@rule($expr), $arity)
188+
ACRule($(esc(:(@rule($(expr))))), $arity)
189189
end
190190
end
191191

0 commit comments

Comments
 (0)