[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/sweeprolog c03ac63bdb 1/7: ; (sweep_replace_update_state/7
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/sweeprolog c03ac63bdb 1/7: ; (sweep_replace_update_state/7): Fix SSU guard classification |
Date: |
Wed, 27 Sep 2023 16:01:32 -0400 (EDT) |
branch: elpa/sweeprolog
commit c03ac63bdbbc6dbfdcb548eefb6c126b6dbd360c
Author: Eshel Yaron <me@eshelyaron.com>
Commit: Eshel Yaron <me@eshelyaron.com>
; (sweep_replace_update_state/7): Fix SSU guard classification
---
sweep.pl | 2 ++
1 file changed, 2 insertions(+)
diff --git a/sweep.pl b/sweep.pl
index c62aff622b..b602c0b514 100644
--- a/sweep.pl
+++ b/sweep.pl
@@ -1397,6 +1397,8 @@ sweep_replace_update_state(_FileName, _Module, '=>', 2,
2, clause, goal(0)) :- !
sweep_replace_update_state(_FileName, _Module, '-->', 2, 1, clause, head) :- !.
sweep_replace_update_state(_FileName, _Module, '-->', 2, 2, clause, goal(2))
:- !.
sweep_replace_update_state(_FileName, _Module, _Functor, _Arity, _I, clause,
data) :- !.
+sweep_replace_update_state(_FileName, _Module, ',', 2, 1, head, head) :- !.
% SSU head
+sweep_replace_update_state(_FileName, _Module, ',', 2, 2, head, goal(0)) :- !.
% SSU guard
sweep_replace_update_state(_FileName, _Module, _Functor, _Arity, _I, head,
data) :- !.
sweep_replace_update_state(_FileName, Module, Functor, Arity, I, goal(N0),
State) :-
pi_head(Functor/Arity,Head),
- [nongnu] elpa/sweeprolog updated (dba83e95e6 -> 0dd67eba55), ELPA Syncer, 2023/09/27
- [nongnu] elpa/sweeprolog c03ac63bdb 1/7: ; (sweep_replace_update_state/7): Fix SSU guard classification,
ELPA Syncer <=
- [nongnu] elpa/sweeprolog 659d6033f4 4/7: ; Avoid relying on 'diff-mode' faces, ELPA Syncer, 2023/09/27
- [nongnu] elpa/sweeprolog c3cccb68c9 6/7: ; Silence some byte-complier warnings, ELPA Syncer, 2023/09/27
- [nongnu] elpa/sweeprolog abdd68164a 2/7: ; (sweep_replace_term_r/12): Fix qualified head classification, ELPA Syncer, 2023/09/27
- [nongnu] elpa/sweeprolog c24190141d 5/7: ; Fix off-by-one in end of next token position for parentheses, ELPA Syncer, 2023/09/27
- [nongnu] elpa/sweeprolog 0dd67eba55 7/7: ; Add missing ':type' for 'sweeprolog-top-level-use-pty', ELPA Syncer, 2023/09/27
- [nongnu] elpa/sweeprolog e02f243b03 3/7: ; Fix filtering of the just created body when extracting goal, ELPA Syncer, 2023/09/27