Branch: Tag:

2000-07-29

2000-07-29 06:31:14 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

file.c now uses NO_PIKE_SHORTHAND

Rev: src/errors.h:1.11
Rev: src/interpret_functions.h:1.27
Rev: src/modules/files/file.c:1.182
Rev: src/pike_types.h:1.40
Rev: src/svalue.h:1.63

1:   /* -  * $Id: interpret_functions.h,v 1.26 2000/07/12 12:25:18 grubba Exp $ +  * $Id: interpret_functions.h,v 1.27 2000/07/29 06:31:06 hubbe Exp $    *    * Opcode definitions for the interpreter.    */
273:    i = ID_FROM_INT(Pike_fp->current_object->prog, tmp);    if(!IDENTIFIER_IS_VARIABLE(i->identifier_flags))    error("Cannot assign functions or constants.\n"); -  if(i->run_time_type == T_MIXED) +  if(i->run_time_type == PIKE_T_MIXED)    {    assign_svalue((struct svalue *)GLOBAL_FROM_INT(tmp),    Pike_fp->locals + arg2);
541:    if(!IDENTIFIER_IS_VARIABLE(i->identifier_flags))    error("Cannot re-assign functions or constants.\n");    -  if(i->run_time_type == T_MIXED) +  if(i->run_time_type == PIKE_T_MIXED)    {    Pike_sp[0].type=T_LVALUE;    Pike_sp[0].u.lval=(struct svalue *)GLOBAL_FROM_INT(tmp);
736:    i=ID_FROM_INT(Pike_fp->current_object->prog, tmp);    if(!IDENTIFIER_IS_VARIABLE(i->identifier_flags))    error("Cannot assign functions or constants.\n"); -  if(i->run_time_type == T_MIXED) +  if(i->run_time_type == PIKE_T_MIXED)    {    assign_svalue((struct svalue *)GLOBAL_FROM_INT(tmp), Pike_sp-1);    }else{
758:    if(!IDENTIFIER_IS_VARIABLE(i->identifier_flags))    error("Cannot assign functions or constants.\n");    -  if(i->run_time_type == T_MIXED) +  if(i->run_time_type == PIKE_T_MIXED)    {    struct svalue *s=(struct svalue *)GLOBAL_FROM_INT(tmp);    free_svalue(s);