First: thanks Thomas, the "without-gcing" does the trick.
My parser doesn't crash anymore.

Currently I'm stuck with the following problem:

After loading the (rarely changing) core of my application,
which contains the rewriting code and the C parser mentioned
in earlier mails  I do a save-lisp. This throws me 
out of Lisp. First question: Is there  a way to avoid that?
I have looked in code/save.lisp, but the "save-lisp"
defined there finally calls a "save", which I can't find.

Anyway, after restarting the corefile with the -core
option, to load the main code of my application
(which changes much more often) the foreign code 
has gone. That's ok, it's the same in other Lisp's. 

But reloading the foreign code does not work. My code does 
reloading as the first action of the init-function
that I gave to the save-lisp, but even
reloading the code manually with load-foreign
and also reloading all the LISP code that contains 
the def-alien-routine's & def-callback's doesn't
help. I get immediate segfaults when trying to call
the C-code of the parser. The same parser calls 
work, when I do them before saving the  core-file.

Any hints how to reload the C-code correctly?

Gerhard



Reply via email to