changed a message so that it doesn't register as an error according to drdr
This commit is contained in:
parent
1c114c3e94
commit
a04a5b32d1
|
@ -101,15 +101,14 @@
|
||||||
(for-each handle-image expressions)
|
(for-each handle-image expressions)
|
||||||
(cond
|
(cond
|
||||||
[(null? mapping)
|
[(null? mapping)
|
||||||
(error 'image-gen "didn't find any images; probably this means that you need to delete .zo files and try again")]
|
(printf "image-gen: didn't find any images; probably this means that you need to delete .zo files and try again\n")]
|
||||||
[else
|
[else
|
||||||
(printf "\n")])
|
(printf "\n")
|
||||||
|
(call-with-output-file "image-toc.ss"
|
||||||
(call-with-output-file "image-toc.ss"
|
(λ (port)
|
||||||
(λ (port)
|
(fprintf port "#lang scheme/base\n(provide mapping)\n")
|
||||||
(fprintf port "#lang scheme/base\n(provide mapping)\n")
|
(fprintf port ";; this file is generated by image-gen.ss -- do not edit\n;; note that the file that creates this file depends on this file\n;; it is always safe to simply define (and provide) mapping as the empty list\n\n")
|
||||||
(fprintf port ";; this file is generated by image-gen.ss -- do not edit\n;; note that the file that creates this file depends on this file\n;; it is always safe to simply define (and provide) mapping as the empty list\n\n")
|
(pretty-print
|
||||||
(pretty-print
|
`(define mapping (list ,@mapping))
|
||||||
`(define mapping (list ,@mapping))
|
port))
|
||||||
port))
|
#:exists 'truncate)])
|
||||||
#:exists 'truncate)
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user