Skip to content

Commit da04e65

Browse files
committed
Fix warnings on ABCL
1 parent 23c7173 commit da04e65

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

Diff for: parser/lexer.lisp

+2-1
Original file line numberDiff line numberDiff line change
@@ -432,8 +432,9 @@ Used by compiler to generate 'forbidden' identfiers.")
432432
(intern str (load-time-value (find-package :clpython.user))))))
433433

434434
(defmethod read-kind ((kind (eql :dot)) c1 &rest args)
435-
(declare (ignorable kind))
435+
(declare (ignorable kind) (dynamic-extent args))
436436
(assert (char= c1 #\.))
437+
(assert (null args))
437438
'[.])
438439

439440
;; String

Diff for: util/utils.lisp

+3-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,9 @@
1414
filename)
1515
&body body)
1616
"Automatically recompile when FASL is apparently intended for another implementation"
17-
(declare (ignorable restart-name))
18-
`(flet ((.invoke-recompile-restart (&optional c)
17+
(declare (ignorable restart-name filename))
18+
`(flet (#+(or allegro ccl sbcl lispworks)
19+
(.invoke-recompile-restart (&optional c)
1920
(declare (ignore c))
2021
,(when restart-name
2122
`(progn

0 commit comments

Comments
 (0)