Branch: Tag:

2002-09-24

2002-09-24 15:12:20 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Added check for whether arg 2 to __yy_memcpy is const.

Rev: src/Makefile.in:1.327
Rev: src/language.yacc:1.296

113:   /* This is the grammar definition of Pike. */      #include "global.h" - RCSID("$Id: language.yacc,v 1.295 2002/09/21 14:20:53 mast Exp $"); + RCSID("$Id: language.yacc,v 1.296 2002/09/24 15:12:20 grubba Exp $");   #ifdef HAVE_MEMORY_H   #include <memory.h>   #endif
165:    */   #ifndef __GNUC__   #ifndef __cplusplus - static void __yy_memcpy(char *to, char *from, YY_COUNT_TYPE count); + static void __yy_memcpy(char *to, YY_FROM_CONST char *from, +  YY_COUNT_TYPE count);   #endif /* !__cplusplus */   #endif /* !__GNUC__ */