fix modularized grammar.yap.

This commit is contained in:
Vítor Santos Costa 2014-10-03 08:54:41 +01:00
parent 510c7cdeee
commit ad2ee8225d

View File

@ -239,19 +239,19 @@ prolog:','(A,B, S0, S) :-
t_body((A,B), _, last, S0, S, Goal),
'$execute'(Goal).
prolog:;(A,B, S0, S) :-
prolog:';'(A,B, S0, S) :-
t_body((A;B), _, last, S0, S, Goal),
'$execute'(Goal).
prolog:'|'(A,B, S0, S) :-
prolog:('|'(A,B, S0, S)) :-
t_body((A|B), _, last, S0, S, Goal),
'$execute'(Goal).
prolog:->(A,B, S0, S) :-
prolog:'->'(A,B, S0, S) :-
t_body((A->B), _, last, S0, S, Goal),
'$execute'(Goal).
prolog:\+(A, S0, S) :-
prolog:'\\+'(A, S0, S) :-
t_body(\+ A, _, last, S0, S, Goal),
'$execute'(Goal).