pike.git / src / las.c

version» Context lines:

pike.git/src/las.c:1:   /*\   ||| This file a part of Pike, and is copyright by Fredrik Hubinette   ||| Pike is distributed as GPL (General Public License)   ||| See the files COPYING and DISCLAIMER for more information.   \*/   #include "global.h" - RCSID("$Id: las.c,v 1.27 1997/02/27 11:23:22 hubbe Exp $"); + RCSID("$Id: las.c,v 1.28 1997/03/01 02:37:03 hubbe Exp $");      #include "language.h"   #include "interpret.h"   #include "las.h"   #include "array.h"   #include "object.h"   #include "stralloc.h"   #include "dynamic_buffer.h"   #include "lex.h"   #include "pike_types.h"
pike.git/src/las.c:501:    {    case T_INT:    yyerror("Failed to index module (module doesn't exist?)");    break;       case T_PROGRAM:    case T_FLOAT:    case T_STRING:    case T_ARRAY:    yyerror("Failed to index module (Not a module?)"); +  pop_stack(); +  push_int(0);    break;       default:    push_string(id);    reference_shared_string(id);    f_index(2);       if(sp[-1].type == T_INT &&    !sp[-1].u.integer &&    sp[-1].subtype==NUMBER_UNDEFINED)