hack around phrase
This commit is contained in:
parent
d3fd980474
commit
d149d041a3
@ -132,8 +132,12 @@
|
||||
phrase(PhraseDef, WordList) :-
|
||||
phrase(PhraseDef, WordList, []).
|
||||
|
||||
phrase(_:[], S, S) :- !.
|
||||
phrase(_:[H|T], S0, S) :- !,
|
||||
lists:append([H|T], S, S0).
|
||||
phrase(P, S0, S) :-
|
||||
call(P, S0, S).
|
||||
|
||||
!(S, S).
|
||||
|
||||
[](S, S).
|
||||
|
Reference in New Issue
Block a user