]> git.eshelyaron.com Git - sweep.git/commit
FIXED: Correctly recognize DCG grammar rules in 'C-c C-d'
authorEshel Yaron <me@eshelyaron.com>
Wed, 14 Jun 2023 07:37:02 +0000 (10:37 +0300)
committerEshel Yaron <me@eshelyaron.com>
Wed, 14 Jun 2023 07:37:02 +0000 (10:37 +0300)
commit33ee7645f57b4d2377177cdc29151ed6afe6487f
treeec49066abe6e26e66508db2975874027648892f5
parent307eaf4a80fb1f9711fc650855b168ae2f6272c2
FIXED: Correctly recognize DCG grammar rules in 'C-c C-d'

* sweeprolog.el (sweeprolog-beginning-of-predicate-at-point): Also
return the module and neck operator of the predicate at point.
(sweeprolog-insert-predicate-documentation)
(sweeprolog-read-predicate-documentation-function)
(sweeprolog-read-predicate-documentation-with-holes)
(sweeprolog-read-predicate-documentation-default-function)
(sweeprolog-read-predicate-documentation)
(sweeprolog-document-predicate-at-point): Adapt to support DCGs and
non-local predicates.
README.org
sweeprolog-tests.el
sweeprolog.el