csys:environ:find-cells: issue warning on empty result
This commit is contained in:
parent
8c33e4bbb6
commit
98df278cf6
1 changed files with 5 additions and 3 deletions
|
|
@ -65,7 +65,9 @@
|
||||||
|
|
||||||
(defun find-cells (reg addr)
|
(defun find-cells (reg addr)
|
||||||
(destructuring-bind (dom cat &optional (key "")) addr
|
(destructuring-bind (dom cat &optional (key "")) addr
|
||||||
(let ((idx (gethash (list dom cat) reg)))
|
(let* ((idx (gethash (list dom cat) reg))
|
||||||
(when idx
|
(cells (when idx (index:query idx key))))
|
||||||
(index:query idx key)))))
|
(unless cells
|
||||||
|
(util:lgw "not found" addr reg idx))
|
||||||
|
cells)))
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue