[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] Error: illegal bytevector syntax: unspecified
From: |
felix winkelmann |
Subject: |
Re: [Chicken-users] Error: illegal bytevector syntax: unspecified |
Date: |
Mon, 28 Apr 2008 06:19:34 +0200 |
On Sat, Apr 26, 2008 at 7:33 PM, Todd Dukes <address@hidden> wrote:
>
> It is disapointing that this doesn't work:
>
> (cond ((null? remaining) (cond-expand (bigloo
> #unspecified)
> (else
> #t)))
>
> It returns the same error. I assume that the cond-expand is not
> operated on until after the file is parsed.
>
> I can easily work around this case by using
>
> (cond ((null? remaining) #t)
>
> But I am worried now that other cases may not be as easy. I guess in
> that case I can do a cond-expand around an include. I will write a
> short test to see if that will work.
That's right - chicken reads the whole toplevel form before doing the
cond-expand, so the reader already has to handle "#unspecified".
cheers,
felix
Re: [Chicken-users] Error: illegal bytevector syntax: unspecified, felix winkelmann, 2008/04/28