Branch: Tag:

1997-09-10

1997-09-10 20:48:45 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Added kludge-prototype for internal bison-function __yy_memcpy().

Rev: src/language.yacc:1.47

156:   /* This is the grammar definition of Pike. */      #include "global.h" - RCSID("$Id: language.yacc,v 1.46 1997/08/30 18:35:36 grubba Exp $"); + RCSID("$Id: language.yacc,v 1.47 1997/09/10 20:48:45 grubba Exp $");   #ifdef HAVE_MEMORY_H   #include <memory.h>   #endif
205:    }   }    + /* +  * Kludge for Bison not using prototypes. +  */ + #ifndef __GNUC__ + #ifndef __cplusplus + static void __yy_memcpy(char *to, char *from, int count) + #endif /* !__cplusplus */ + #endif /* !__GNUC__ */ +    %}      %union