develooper Front page | perl.perl6.internals | Postings from July 2002

[netlabs #760] Parrot_warn doesn't work with a NULL interpreter

Thread Next
From:
Josh Wilmes
Date:
July 3, 2002 20:03
Subject:
[netlabs #760] Parrot_warn doesn't work with a NULL interpreter
Message ID:
rt-760-3580.9.32140349856994@netlabs
# New Ticket Created by  Josh Wilmes 
# Please include the string:  [netlabs #760]
# in the subject line of all future correspondence about this issue. 
# <URL: http://bugs6.perl.org/rt2/Ticket/Display.html?id=760 >



Parrot_warn was modified a while back to allow for a NULL interpreter.
However, since it then calls PIO to print out the warning, and PIO doesn't
support a NULL interpreter, it causes it to crash.

I think that rather than allowing the interpreter to remain NULL,
Parrot_warn should construct a dummy interpreter to pass into PIO.  Having
PIO also handle a NULL interpreter is another option, but I don't think it's
a good idea.

-- 
Josh Wilmes  (josh@hitchhiker.org) | http://www.hitchhiker.org




Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About