Branch: Tag:

2004-03-13

2004-03-13 19:50:23 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Looking at num_parse_error in resolve_identifier() only increases the number of cascade errors.
Usually "Expected constant, got undefined identifier" and "Illegal program identifier (type: int).".

Rev: src/program.c:1.558

2:   || 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.557 2004/03/13 14:45:06 grubba Exp $ + || $Id: program.c,v 1.558 2004/03/13 19:50:23 grubba Exp $   */      #include "global.h" - RCSID("$Id: program.c,v 1.557 2004/03/13 14:45:06 grubba Exp $"); + RCSID("$Id: program.c,v 1.558 2004/03/13 19:50:23 grubba Exp $");   #include "program.h"   #include "object.h"   #include "dynamic_buffer.h"
1464:    }    }    -  if(!Pike_compiler->num_parse_error && get_master()) +  if(get_master())    {    DECLARE_CYCLIC();    node *ret=0;
1525:    }    }    END_CYCLIC(); -  if(ret) return ret; +  +  return ret;    }       return 0;