]> git.eshelyaron.com Git - sweep.git/commit
Fix feedback in 'sweeprolog-set-prolog-flag'
authorEshel Yaron <me@eshelyaron.com>
Tue, 8 Aug 2023 18:29:35 +0000 (21:29 +0300)
committerEshel Yaron <me@eshelyaron.com>
Tue, 8 Aug 2023 18:29:35 +0000 (21:29 +0300)
commit3bc12ac53cb4746e87d97f42df2d162cc5f62a53
tree5f6f076f9850c8c80aad9649754456936c27fbab
parent84e79a916318852ee6c00701a081065c01497e41
Fix feedback in 'sweeprolog-set-prolog-flag'

Similarly to the previous fix for 'sweeprolog-pack-install', this
makes 'sweeprolog-set-prolog-flag' actually report its result, instead
of reporting failure even when successful.

* sweep.pl (sweep_set_prolog_flag/2): Bind the output argument to
non-nil on success.
sweep.pl