pike.git / src / program.c

version» Context lines:

pike.git/src/program.c:1:   /*   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: program.c,v 1.737 2008/07/16 01:08:05 mast Exp $ + || $Id: program.c,v 1.738 2008/08/06 12:25:59 grubba Exp $   */      #include "global.h"   #include "program.h"   #include "object.h"   #include "dynamic_buffer.h"   #include "pike_types.h"   #include "stralloc.h"   #include "las.h"   #include "lex.h"
pike.git/src/program.c:4534:    /* In Pike 7.7 and later filenames belonging to Pike are assumed    * to be encoded according to UTF-8.    */    f_string_to_utf8(1);    }       if (safe_apply_current2(PC_HANDLE_INHERIT_FUN_NUM, 1, NULL))    if (Pike_sp[-1].type != T_INT)    return 1;    else { -  pop_stack(); +     my_yyerror("Couldn't find program %S", s);    }    else {    handle_compile_exception ("Error finding program");    } -  +  pop_stack();       return 0;   }      void simple_do_inherit(struct pike_string *s,    INT32 flags,    struct pike_string *name)   {    if (!call_handle_inherit(s)) return;