Branch: Tag:

1998-11-10

1998-11-10 22:50:56 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Added an "evil" bison optimization.

Rev: src/language.yacc:1.105

179:   /* This is the grammar definition of Pike. */      #include "global.h" - RCSID("$Id: language.yacc,v 1.104 1998/11/05 17:56:08 grubba Exp $"); + RCSID("$Id: language.yacc,v 1.105 1998/11/10 22:50:56 grubba Exp $");   #ifdef HAVE_MEMORY_H   #include <memory.h>   #endif
235:   }      %{ + /* Include <stdio.h> our selves, so that we can do our magic +  * without being disturbed... */ + #include <stdio.h>   int yylex(YYSTYPE *yylval); -  + /* Bison is stupid, and tries to optimize for space... */ + #ifdef YYBISON + #define short int + #endif /* YYBISON */   %}      %type <fnum> F_FLOAT