Branch: Tag:

2001-01-16

2001-01-16 09:36:31 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

test and fix for duplicate constant bug

Rev: src/language.yacc:1.222
Rev: src/testsuite.in:1.371

110:   /* This is the grammar definition of Pike. */      #include "global.h" - RCSID("$Id: language.yacc,v 1.221 2001/01/10 20:00:23 mast Exp $"); + RCSID("$Id: language.yacc,v 1.222 2001/01/16 09:36:30 hubbe Exp $");   #ifdef HAVE_MEMORY_H   #include <memory.h>   #endif
1589:    }    if(!type) type=mixed_type_string;    add_ref(type); -  low_add_local_name(Pike_compiler->compiler_frame->previous, +  low_add_local_name(Pike_compiler->compiler_frame, /*->previous,*/    $1->u.sval.u.string,    type, $3);    free_node($1);