This is the mail archive of the kawa@sourceware.org mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GSOC | Extending Common Lisp support


* Charles Turner [2012-06-18 13:19] writes:

[...]
> #|kawa:5|# 'test::a
> Looking ackaget up in test
> {TEST}:ACKAGET ()
>
> In the penultimate line, "Looking <giberish> up..", I'm at a loss as
> to how and why the "ckaget" (which I assume is part of "package test")
> is in the tokenBuffer. It's presence is affecting the endPos variable,
> and so my symbols are getting messed up. Any pointers where this might
> be happening? Hopefully it's a silly error on my part which would save
> me having to spend the next week figuring out how the reader works.
[...]
> +      String pack = new String(tokenBuffer, startPos, packageMarker - startPos);
> +      int symstart = packageMarker + (externalLookup ? 1 : 2);
> +      String symname = new String(tokenBuffer, symstart, endPos);
                                                            
this should be a length not an index -----------------------^^^^^^
 
Helmut


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]