Branch: Tag:

1999-12-18

1999-12-18 02:28:13 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fixed double warning.

Rev: src/language.yacc:1.153

185:   /* This is the grammar definition of Pike. */      #include "global.h" - RCSID("$Id: language.yacc,v 1.152 1999/12/18 02:13:20 grubba Exp $"); + RCSID("$Id: language.yacc,v 1.153 1999/12/18 02:28:13 grubba Exp $");   #ifdef HAVE_MEMORY_H   #include <memory.h>   #endif
2581:    check_type_string(type);   #endif /* PIKE_DEBUG */    if (pike_types_le(type, void_type_string)) { +  if (compiler_pass != 1) {    yywarning("Declaring local variable with type void "    "(converted to type zero)."); -  +  }    free_string(type);    copy_shared_string(type, zero_type_string);    }