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.237 2001/07/13 14:30:48 grubba Exp $"); + RCSID("$Id: las.c,v 1.238 2001/08/15 15:29:22 mast 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:4504: Inside #if defined(PIKE_DEBUG)
   {    fprintf(stderr,"Evaluating (tree info=%x):",n->tree_info);    print_tree(n);    }   #endif       if(Pike_compiler->num_parse_error) return -1;       num_strings=Pike_compiler->new_program->num_strings;    num_constants=Pike_compiler->new_program->num_constants; -  jump = DO_NOT_WARN((INT32)PC); +  jump = DO_NOT_WARN((INT32)PIKE_PC);       store_linenumbers=0;    docode(dmalloc_touch(node *, n));    ins_f_byte(F_DUMB_RETURN);    store_linenumbers=1;       ret=-1;    if(!Pike_compiler->num_parse_error)    {    struct callback *tmp_callback;
pike.git/src/las.c:4769:   {    union idptr tmp;    int args, vargs, ret;    struct svalue *foo;       check_tree(check_node_hash(n),0);      #ifdef PIKE_DEBUG    if(a_flag > 1)    fprintf(stderr, "Doing function '%s' at %lx\n", name->str, -  DO_NOT_WARN((unsigned long)PC)); +  DO_NOT_WARN((unsigned long)PIKE_PC));   #endif       args=count_arguments(type);    if(args < 0)    {    args=~args;    vargs=IDENTIFIER_VARARGS;    }else{    vargs=0;    }
pike.git/src/las.c:4835:    (unsigned INT8)modifiers,    (unsigned INT8)(IDENTIFIER_C_FUNCTION | vargs),    &tmp,    foo->u.efun->flags);    free_node(n);    return ret;    }    }    }    -  tmp.offset=PC; +  tmp.offset=PIKE_PC;    Pike_compiler->compiler_frame->num_args=args;      #ifdef PIKE_DEBUG    if(a_flag > 2)    {    fprintf(stderr,"Coding: ");    print_tree(check_node_hash(n));    }   #endif    if(!Pike_compiler->num_parse_error)