pike.git/
src/
language.yacc
Branch:
Tag:
Non-build tags
All tags
No tags
1998-11-10
1998-11-10 22:50:56 by Henrik Grubbström (Grubba) <grubba@grubba.org>
7ee3808da89334a44bef1780e34faf143cc58b7e (
10
lines) (+
9
/-
1
)
[
Show
|
Annotate
]
Branch:
7.9
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