Hmm. It probably doesn't search your directory if you don't explicit say ".Parent" or do import "."; above the inherit.
/ Mirar
Previous text:
2004-02-02 11:49: Subject: Re: Pike module initialization at compile time
On Mon, Feb 02, 2004 at 10:05:01AM +0100, Mirar @ Pike developers forum wrote:
Rename Parent.pmod to Parent.pike if you really want to inherit it. .pike files represent classes (programs).
Well... Seems that I am doing something wrong... Again, two files - Parent.pike and Child.pike, where Child.pike contains:
--snip-- inherit Parent;
//blabla --snip--
Both files in same directory, but when I do "pike -M. Child.pike" I get:
Child.pike:1:Illegal program pointer.
When I use "inherit .Parent" - everything is OK. So, what I am doing wrong here? :)
Regards, /Al
/ Brevbäraren