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: encode.c,v 1.275 2008/05/30 15:19:02 mast Exp $ + || $Id: encode.c,v 1.276 2008/05/31 19:41:16 grubba Exp $   */      #include "global.h"
4326:    int no;    int n;    +  id.filename_strno = store_prog_string(c->lex.current_file); +  id.linenumber = c->lex.current_line; +     id.name = Pike_sp[-2].u.string;    id.type = Pike_sp[-1].u.type;