I got this HTML-extract code (open source) from http://weitz.de/html-extract/
I don't know anything about Lisp, I have a deadline and I don't have time to learn it now...
The problem is that when running the executable it displays warnings... "WARNING EOF after '&'" for example.
I want to turn off the warnings.. one possibility is to just remove the lines that print warnings... but as I don't know Lisp I don't want to break the code. Another possibility.. hoping to find some help... is there any command/function in Lisp that will turn off all the warnings without having to manually remove the lines of code?
The code looks something like this:
Code: Select all
(peek-cond (peek-char)
((char= peek-char #\&)
(read-char)
(peek-cond (peek-char (warn "EOF after '&'")
(write-char #\&))
((char= peek-char #\#)
;; probably a character reference
(read-char)
(peek-cond (peek-char (warn "EOF after '&#'")
(write-string "&#"))
Thank you in advance,
Oana.