> -----Original Message----- > From: Leopold Toetsch [mailto:[EMAIL PROTECTED]] > > Further remark: the scratchpad clone code looks dubious, the 2 lists in > the data (lex) entry should probably cloned too - and at least the lex > ptrs themselves. > The destroy method leaks, because we can't cleanup duplicated lex ptrs. > > Can somone better knowing scratchpads comment on this please. >
I guess there is a related problem with the way the function scratchpad new works, since it needs to copy lex ptrs from enclosing scopes? I will look into it more in a bit ... -- Jonathan Sillito