[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] ssax troubles
From: |
sramsay . unl |
Subject: |
Re: [Chicken-users] ssax troubles |
Date: |
Sun, 19 Feb 2012 11:45:30 -0600 |
On 19 February 2012 at 17:43, Peter Bex <address@hidden>wrote:
> Anyway, I've applied the patch by Taylor to the trunk version and pushed
> a new 5.0.6 release which should appear shortly.
Getting closer . . . ;)
It's now complaining about:
Error: unbound variable: nl
Call history:
##sys#require
tagnuke.scm:4: open-input-file
tagnuke.scm:21: outline
scan-for-significant-prolog-token-1524543
ssax#ssax:scan-Misc
ssax#ssax:warn <--
And this one looks pretty straightforward.
The warn function in ssax-chicken.scm:
(define (ssax:warn port msg . other-msg)
(apply cerr (cons* nl "Warning: " msg other-msg))
is calling nl, which is defined in myenv-chicken.scm (it's just an alias for
(string #\newline). But myenv-chicken.scm isn't included until after that
definition.
Or so it seems to me. I'd send a patch, but I have a feeling you don't want a
noob messing around with this, and I assume I don't have the ability to put
patched code back into the egg repository.
Any chance of a quick fix?
Steve
--
Stephen Ramsay
Associate Professor
Department of English
Center for Digital Research in the Humanities
University of Nebraska-Lincoln
PGP Public Key ID: 0xA38D7B11
http://lenz.unl.edu/