Skip to content

Commit 7984ec0

Browse files
committed
disable options for recursive derivations
1 parent 46fbee7 commit 7984ec0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/derive/elpi/derive.elpi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ main T P CL :- get-option "recursive" tt, !,
100100
pred main.aux i:list gref, i:list prop, o:list prop.
101101
main.aux [] X X.
102102
main.aux [T|TS] Acc CL :-
103-
Acc => main T tt CL1,
103+
(pi X\get-option "only" X :- !, fail) => Acc => main T tt CL1,
104104
main.aux TS {std.append CL1 Acc} CL.
105105

106106
main T P CL :- main1 T P CL.

0 commit comments

Comments
 (0)