pike.git
/
src
/
docode.c
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/src/docode.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: docode.c,v 1.
200
2008/05/
15
15
:
13
:
04
grubba Exp $
+
|| $Id: docode.c,v 1.
201
2008/05/
30
11
:
20
:
44
grubba Exp $
*/ #include "global.h" #include "las.h" #include "program.h" #include "pike_types.h" #include "stralloc.h" #include "interpret.h" #include "constants.h" #include "array.h"
pike.git/src/docode.c:927:
int level = 0; struct program_state *state = Pike_compiler; int inh = n->u.integer.b; while (state && (state->new_program->id != n->u.integer.a)) { state = state->previous; level++; } if (!state) { my_yyerror("Program parent %d lost during compiling.", n->u.integer.a); emit1(F_NUMBER,0);
-
} else if (!level &&
!
inh) {
+
} else if (!level &&
(
inh
< 0
)
)
{
emit1(F_THIS_OBJECT, 0); } else { emit2(F_THIS, level, inh); } return 1; } break; case F_UNDEFINED: yyerror("Undefined identifier");