Branch: Tag:

2008-11-12

2008-11-12 14:57:44 by Martin Stjernholm <mast@lysator.liu.se>

Fixed inherit errors when modules don't exist - it is not possible to
inherit a program with this_program_does_not_exist (because it really does
not exist).

Rev: lib/modules/Locale.pmod/Gettext.pmod:1.4
Rev: src/modules/Gz/module.pmod.in:1.19

1: - // $Id: module.pmod.in,v 1.18 2008/07/13 13:53:46 marcus Exp $ + // -*- pike -*- + // $Id: module.pmod.in,v 1.19 2008/11/12 14:57:44 mast Exp $   #pike __REAL_VERSION__    -  + #if constant(@module@) +    inherit @module@;    - #if constant(@module@.inflate) -  +    //! Low-level implementation of read/write support for GZip files   class _file {   
411:    }   }    - #endif // constant(@module@.inflate) + #else + constant this_program_does_not_exist = 1; + #endif // constant(@module@)