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.10 1996/12/05 00:47:14 hubbe Exp $"); + RCSID("$Id: las.c,v 1.11 1997/01/16 05:00:45 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:909:    {    case F_LOCAL:    if(lvalue) p->locals[n->u.number]=VAR_USED;    break;       case F_GLOBAL:    if(lvalue) p->globals[n->u.number]=VAR_USED;    break;       case F_INDEX: +  case F_ARROW:    find_written_vars(CAR(n), p, lvalue);    find_written_vars(CDR(n), p, 0);    break;       case F_INC:    case F_DEC:    case F_POST_INC:    case F_POST_DEC:    find_written_vars(CAR(n), p, 1);    break;
pike.git/src/las.c:1065:    break;       case F_ASSIGN:    if(CAR(n) && CDR(n) &&    !match_types(CDR(n)->type,CAR(n)->type))    my_yyerror("Bad type in assignment.");    copy_shared_string(n->type, CDR(n)->type);    break;       case F_INDEX: +  case F_ARROW:    type_a=CAR(n)->type;    type_b=CDR(n)->type;    if(!check_indexing(type_a, type_b))    my_yyerror("Indexing on illegal type.");    n->type=index_type(type_a);    break;       case F_APPLY:    {    struct pike_string *s;