Branch: Tag:

2008-05-31

2008-05-31 19:41:16 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Now sets valid file and line numbers before calling add_to_identifiers.

Rev: src/encode.c:1.276
Rev: src/interpret.c:1.403

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: interpret.c,v 1.402 2008/05/29 10:11:14 grubba Exp $ + || $Id: interpret.c,v 1.403 2008/05/31 19:41:16 grubba Exp $   */      #include "global.h"
2344:    };    copy_shared_string(dummy.name, empty_pike_string);    copy_pike_type(dummy.type, function_type_string); +  dummy.filename_strno = -1; +  dummy.linenumber = 0;    dummy.run_time_type = PIKE_T_FUNCTION;    dummy.identifier_flags = IDENTIFIER_PIKE_FUNCTION|IDENTIFIER_HAS_BODY;    dummy.func.offset = offset;