pike.git/
src/
builtin_functions.c
Branch:
Tag:
Non-build tags
All tags
No tags
1999-12-12
1999-12-12 22:41:33 by Per Hedbor <ph@opera.com>
2f965a3bcb0bcb14a6f52167e669f14a0ee0fef3 (
6
lines) (+
4
/-
2
)
[
Show
|
Annotate
]
Branch:
7.9
Make this_object() somewhat weaker typed.
Rev: src/builtin_functions.c:1.223
5:
\*/ /**/ #include "global.h"
-
RCSID("$Id: builtin_functions.c,v 1.
222
1999/12/
11
23
:
36
:
46
grubba
Exp $");
+
RCSID("$Id: builtin_functions.c,v 1.
223
1999/12/
12
22
:
41
:
33
per
Exp $");
#include "interpret.h" #include "svalue.h" #include "pike_macros.h"
1274:
free_string(n->type); type_stack_mark(); push_type_int(new_program->id);
-
push_type(1);
/*
We are rather sure that we contain ourselves... */
+
/*
push_type(1); We are rather sure that we contain ourselves... */
+
push_type(0); /* But it did not work yet, so... */
push_type(T_OBJECT); n->type = pop_unfinished_type(); if (n->parent) {