Re: Question about interpreter == NULL

2003-08-01 Thread Juergen Boemmels
Leopold Toetsch [EMAIL PROTECTED] writes: Juergen Boemmels wrote: Leopold Toetsch [EMAIL PROTECTED] writes: [...] PIO_eprintf PIO_printf for printing to stderr/stdout during 1st interpreter construction destruction if something goes wrong. In all other cases we have an valid

Re: Question about interpreter == NULL

2003-08-01 Thread Leopold Toetsch
Juergen Boemmels [EMAIL PROTECTED] wrote: They should not fail more drastic than necessary. Only fail if its not possible to report an error to the upper level. Yep. That's right. To panic() is not necessary nost of the time. bye boe leo

Question about interpreter == NULL

2003-07-31 Thread Juergen Boemmels
Hello, Some Parrot functions allow a NULL interpreter and some don't. Parrot_warn for example fails badly if called with a NULL-interpreter, but in config/gen/platform/ansi.c in Parrot_floatval_time it is exactly called in this way. So what functions should allow for a NULL interpreter, which

Re: Question about interpreter == NULL

2003-07-31 Thread Leopold Toetsch
Juergen Boemmels [EMAIL PROTECTED] wrote: Hello, Some Parrot functions allow a NULL interpreter and some don't. Parrot_warn for example fails badly if called with a NULL-interpreter, but in config/gen/platform/ansi.c in Parrot_floatval_time it is exactly called in this way. So what

Re: Question about interpreter == NULL

2003-07-31 Thread Juergen Boemmels
Leopold Toetsch [EMAIL PROTECTED] writes: [...] PIO_eprintf PIO_printf for printing to stderr/stdout during 1st interpreter construction destruction if something goes wrong. In all other cases we have an valid interpreter (or an parent interpreter if any). This means all the

Re: Question about interpreter == NULL

2003-07-31 Thread Leopold Toetsch
Juergen Boemmels wrote: Leopold Toetsch [EMAIL PROTECTED] writes: [...] PIO_eprintf PIO_printf for printing to stderr/stdout during 1st interpreter construction destruction if something goes wrong. In all other cases we have an valid interpreter (or an parent interpreter if any). This means