Skip to content
This repository was archived by the owner on Jul 7, 2024. It is now read-only.

Commit 91e434a

Browse files
committed
Remove usage of deprecated function
1 parent 73eb041 commit 91e434a

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

urn/cli.lisp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@
5454
(set! path (cond
5555
;; X/urn/cli.lisp -> X
5656
[(string/find path "urn[/\\]cli%.lisp$") (string/gsub path "urn[/\\]cli%.lisp$" "")]
57+
[(string/find path "urn[/\\]cli$") (string/gsub path "urn[/\\]cli$" "")]
5758
;; X/bin/* -> X
5859
[(string/find path "bin[/\\][^/\\]*$") (string/gsub path "bin[/\\][^/\\]*$" "")]
5960
;; X/* -> X

urn/plugins.lisp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
(import urn/analysis/visitor visitor)
88
(import urn/backend/lua/emit lua)
99
(import urn/backend/writer writer)
10+
(import urn/error error)
1011
(import urn/logger logger)
1112
(import urn/range range)
1213
(import urn/resolve/scope scope)
@@ -35,7 +36,7 @@
3536
:logger/put-node-warning! (lambda (msg node explain &lines)
3637
(logger/put-node-warning! logger msg node explain (unpack lines 1 (n lines))))
3738
:logger/do-node-error! (lambda (msg node explain &lines)
38-
(logger/do-node-error! logger msg node explain (unpack lines 1 (n lines))))
39+
(error/do-node-error! logger msg node explain (unpack lines 1 (n lines))))
3940
:range/get-source range/get-source
4041
:flags (lambda () (map id (.> compiler :flags)))
4142
:flag? (cut elem? <> (.> compiler :flags))

0 commit comments

Comments
 (0)