pike.git / src / program.c

version» Context lines:

pike.git/src/program.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: program.c,v 1.729 2008/06/29 12:50:04 nilsson Exp $ + || $Id: program.c,v 1.730 2008/06/29 21:00:42 grubba Exp $   */      #include "global.h"   #include "program.h"   #include "object.h"   #include "dynamic_buffer.h"   #include "pike_types.h"   #include "stralloc.h"   #include "las.h"   #include "lex.h"
pike.git/src/program.c:8762:       get_all_args("apply_type_attribute", args, "%W%*.%*", &attr, &a, &b);       if (Pike_compiler->compiler_pass == 2) {    MAKE_CONST_STRING(deprecated_string, "deprecated");    if ((attr == deprecated_string) &&    !(c->lex.pragmas & ID_NO_DEPRECATION_WARNINGS) &&    (!b ||    ((b->type == T_INT) && (b->subtype == NUMBER_UNDEFINED) &&    (!b->u.integer)))) { -  push_svalue(a); +  /* push_svalue(a); */    yytype_report(REPORT_WARNING, NULL, 0, NULL,    NULL, 0, NULL, -  1, "Calling a deprecated %O value."); +  0, "Calling a deprecated value.");    }    }    pop_n_elems(args);    push_int(1);   }      /*! @decl type(mixed) apply_attribute_constant(string attr, @    *! mixed value, @    *! type arg_type, @    *! void cont_type)