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.758 2009/03/04 14:17:10 grubba Exp $ + || $Id: program.c,v 1.759 2009/03/04 16:21:50 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:10785:    struct pike_string *aid_file = get_identifier_line(a, i, &aid_line);    struct pike_string *bid_file = get_identifier_line(b, e, &bid_line);    if (!aid_file) aid_file = a_file;    if (!bid_file) bid_file = b_file;    if(!match_types(ID_FROM_INT(a,i)->type, bid->type)) {    yytype_report(severity_level,    bid_file, bid_line, bid->type,    aid_file, aid_line, ID_FROM_INT(a, i)->type,    0, "Type of identifier %S does not match.", bid->name);    } else { -  yytype_report(REPORT_WARNING, +  yytype_report((severity_level < REPORT_WARNING)? +  severity_level : REPORT_WARNING,    bid_file, bid_line, bid->type,    aid_file, aid_line, ID_FROM_INT(a, i)->type,    0, "Type of identifier %S is not strictly compatible.",    bid->name);    }    continue;    }    }    free_string(b_file);    free_string(a_file);