pike.git
/
src
/
program.c
version
»
Context lines:
10
20
40
80
file
none
3
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.
583
2004
/
12
/
19
16
:
43
:
38
grubba Exp $
+
|| $Id: program.c,v 1.
584
2005
/
01
/
07
13
:
28
:
14
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:5114:
struct pike_string *lfun_name = lfun_strings[lfun]; unsigned int flags = 0; struct identifier *id; int i = really_low_find_shared_string_identifier(lfun_name, dmalloc_touch(struct program *, p), SEE_STATIC); if (i < 0 || !(p->flags & PROGRAM_FIXED)) return i; id = ID_FROM_INT(p, i);
+
#if 0
if (IDENTIFIER_IS_PIKE_FUNCTION(id->identifier_flags) && (id->func.offset == -1)) { /* Function prototype. */ return -1; }
-
+
#endif /* 0 */
return i; } int lfun_lookup_id(struct pike_string *lfun_name) { struct svalue *id = low_mapping_string_lookup(lfun_ids, lfun_name); if (!id) return -1; if (id->type == T_INT) return id->u.integer; my_yyerror("Bad entry in lfun lookup table for %S.", lfun_name); return -1;