let binding with c

"Bruant, Michel" <[email protected]>
Newsgroups gmane.lisp.scheme.bigloo
Message-ID <[email protected]>
Hi Bigloo team,

We observe an issue with the latest bigloo-4.3  (it was already present in the previous  beta)
I have a procedure which has a let* . In this let*, a variable is binded to a C function, something like:
(data        (pragma::bstring "string_to_bstring_len( $1, $2 )" [....])
Then this variable is used in some of the next bindings, and also in the body of the let*.
But at one stage, (in the body if I remember) ; its content is wrong, corrupted.

As a workaround, we needed to change this implementation:
- create a global variable (define data "") ; split the let* into 2 let* and add  a  (set! ...) in between to replace the previous binding.
... something a little bit dirty.
I 'm not sure I can create a small test case to observe this issue; but maybe this description is enough ?
Anyway, If you can find a fix  so that  we can remove our workaround, it will be really appreciated.
Thanks, regards,
Michel.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.