Hi,

On Saturday 13 March 2004 09:41, Leopold Toetsch wrote:
> Jens Rieks <[EMAIL PROTECTED]> wrote:
> > get_string() not implemented in class 'SArray'
>
> I've gone through err3 and err4 and found a couple of flaws, which should
> mostly be fixed now:
>
> - method subs got compiled as non-prototyped
> - namespace resetting to main wasn't really working
>   (now the namespace gets reset before load_bytecode)
> - name mangling of namespaced subs used '::' which could interfer
>   with user labels (now its '@@@')
>
> err4 runs now (at least when 'main' ends with 'end' :)
>
> err3 complains about a non-class to 'subclass', which I didn't
> investigate futher.
Works so far, thank you!
I know found another problem. I temporarily renamed a "open" method to "open2" 
but forgot to rename it where it is called.
I have a test case where parrot crashes with SIGSEGV if a method that does not 
exists is tried to be called.

> Thanks for your test code,
No problem, thank you for fixing it!
One more is attached... :-)
languages/EBNF/Syntax.imc's (currently emtpy) __init method seems to be the 
culprit. If it is renamed, the expected error message is printed.

$ tar xzf err5.tgz
$ cd err5
$ ../parrot main.imc
calling source."open"( name, "<" )...
segmentation fault


> leo
jens

Attachment: err5.tgz
Description: application/tgz

Reply via email to